| 1 | = Installing ASAP and dependencies from source = |
| 2 | |
| 3 | * '''Rpfits''' |
| 4 | Download [http://www.atnf.csiro.au/pub/software/rpfits/rpfits-2.9.tar.gz rpfits-2.9] |
| 5 | {{{ |
| 6 | tar zxvf rpfits-2.9.tar.gz; cd rpfits/linux |
| 7 | make install |
| 8 | }}} |
| 9 | |
| 10 | * '''CASA''' (aips++) |
| 11 | Download [http://www.atnf.csiro.au/pub/software/asap/casa_asap.tar.bz2 casa_asap] |
| 12 | {{{ |
| 13 | tar jxvf casa_asap.tar.bz2; cd casa_asap |
| 14 | sh build.sh |
| 15 | }}} |
| 16 | |
| 17 | Depending on whether you use (t)csh |
| 18 | {{{ |
| 19 | source aipsinit.csh |
| 20 | }}} |
| 21 | or bash |
| 22 | {{{ |
| 23 | . aipsinit.sh |
| 24 | }}} |
| 25 | |
| 26 | * ASAP |
| 27 | Download [http://www.atnf.csiro.au/pub/software/asap/asap_src.tar.bz2 asap_src] |
| 28 | {{{ |
| 29 | tar jxvf asap_src.tar.bz2; cd asap2.0 |
| 30 | make |
| 31 | }}} |
| 32 | Check if the module works. If the following statement returns without a message, all is good! |
| 33 | {{{ |
| 34 | cd src; python -c "import _asap"; cd .. |
| 35 | }}} |
| 36 | Install it to the default location: |
| 37 | {{{ |
| 38 | make install |
| 39 | }}} |
| 40 | |
| 41 | * ASAP Data |
| 42 | Download [http://www.atnf.csiro.au/pub/software/asap/asap_data.tar.bz2 asap_data] |
| 43 | {{{ |
| 44 | cd /usr/local/share/asap |
| 45 | tar jxvf <download_directory>/asap_data.tar.bz2 |
| 46 | }}} |
| 47 | |
| 48 | Now you can test it by executing: |
| 49 | {{{ |
| 50 | asap |
| 51 | }}} |
| 52 | |