Installing/Updating AIPS on Laptops

Intended for Linux laptops but will probably mostly work for updating Macs

You can ask the AIPS Group (Amy Mioduszewski or Eric Greisen) or follow these simple steps.

Update to new version of AIPS

Binary Update

  1. Edit ~/.AIPSRC
  2. Go to AIPS area (usually /home/computername/AIPS).
  3. Remove old *tar.gz and install.pl.
  4. Copy /home/aipsftp/31DEC**/install.pl or ftp to ftp.aoc.nrao.edu and get this from pub/software/aips/31DEC**
  5. Run install.pl by typing perl install.pl -n . You will answer lots of questions. If you have not changed anything about your laptop you should just hit return, install.pl will fill in most of the information from the .AIPSRC. See install web page for details but here are the "Screens" of interest. With a binary install/update several of the screens are skipped (1-3 and 10).
  6. Add source LOGIN.CSH or . LOGIN.SH (depending on your shell) to your .tcshrc or .bashrc etc.
  7. Type source LOGIN.CSH or . LOGIN.SH (depending on your shell) and, in the same window, start AIPS.
  8. Do some simple tests in AIPS (i.e., type ucat, print 2+2 or some such).
  9. Go to your home directory and type do_daily.hostname, if this runs without error and updates the new version then congratulations your installation has been a success.

Source Update

  1. Do steps 1-3 as described above.
  2. Copy or ftp /home/aipsftp/31DEC**/install.pl and tar ball as in step 4 above.
  3. Run install.pl by typing perl install.pl, follow the same notes from above except that there will be more "Screens" and you will be asked about the Advanced Settings because you are recompiling. If you have not changed anything about your laptop you should just hit return, install.pl will fill in most of the information from the .AIPSRC.
  4. Add source LOGIN.CSH or . LOGIN.SH (depending on your shell) to your .tcshrc or .ba shrc etc.
  5. Type source LOGIN.CSH or . LOGIN.SH (depending on your shell) and, in the same window, start AIPS.
  6. Do some simple tests in AIPS (i.e., type ucat, print 2+2 or some such).
  7. Go to your home directory and type do_daily.hostname, if this runs without error and updates the new version then congratulations your installation has been a success.

Installing AIPS (either from source or binary)

The same as above except instead of steps 1-3 create an AIPS area (/home/computername/AIPS is recommended) and proceed with the as described above. If you have a Mac, I would recomend reading Special MacIntosh OS X instructions.

Troubleshooting

  1. It doesn't seem to know where things are or what things are named. For example:
  2. It doesn't seem do know any commands, no matter what is typed, SYMBOL? is the response. This could be a corrupted save-get file (see the AIPS Managers FAQ) but since you just installed/updated AIPS it is more likely that you have just forgotten to do a source LOGIN.CSH or . LOGIN.SH (depending on your shell) and a $CDTST before you started AIPS .
  3. MAKE.BMNJ failed, there are various reasons. To re-rerun type AIWHICH MAKE.BMNJ and run the MAKE.BMNJ for the right architecture.

Contact Amy Mioduszewski with question or comments: amiodusz@nrao.edu

Last updated December 21, 2007.