wiki:ASAPSourceInstall

Version 3 (modified by Chris Phillips, 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 as appropriate)
       make install
    
  • CASA (aips++) Download casa_asap
       tar jxvf casa_asap.tar.bz2; cd casa_asap
       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
       make
    
    Check if the module works. If the following statement returns without a message, all is good!
      cd src; python -c "import _asap"; cd ..
    
    Install it to the default location:
       make install
    
  • ASAP Data Download asap_data
       cd /usr/local/share/asap
       tar jxvf <download_directory>/asap_data.tar.bz2
    

Now you can test it by executing:

asap