wiki:ASAPSourceInstall

Version 6 (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
            (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 asap
          (check Makefile and src/Makefile define library paths correctly for your system)
       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
Note: See TracWiki for help on using the wiki.