wiki:ASAPSourceInstall

Version 16 (modified by Malte Marquarding, 18 years ago) (diff)

--

Installing ASAP and dependencies from source

  • Rpfits Download rpfits
       tar zxvf rpfits.tar.gz; cd rpfits/linux
           (edit GNUMakefile and change RPFITSROOT if appropriate)
       make install
    
  • CASA (aips++) Download casa_asap (or casa_asap2.1)
       tar jxvf casa_asap.tar.bz2; cd casa_asap
       sh configure.sh
            (read README and decide if you need to edit linux/UNKNOWN_SITE/makedefs)
       sh build.sh
    

Depending on whether you use (t)csh

   source aipsinit.csh

or bash

   > . aipsinit.sh
  • ASAP Download asap_src
       > tar jxvf asap_src.tar.bz2; cd asap2.0
    

You need to have the scons package installed (see o/s specific notes)

   scons

If scons fails with "Checking for casa libraries...no" then you probably forgot to source the aipsinit script. If any other check returns "no" please install the corresponding package on your machine.

Install it to the default location:

   su
   scons install
  • ASAP Data Download asap_data
       su
       asap_update_data
    

Now you can test it by executing:

   asap