Changes between Version 16 and Version 17 of ASAPSourceInstall


Ignore:
Timestamp:
08/29/06 13:28:50 (18 years ago)
Author:
Chris Phillips
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ASAPSourceInstall

    v16 v17  
    2525{{{
    2626   > . aipsinit.sh
    27 }}}
     27 }}}
    2828
    2929 * ASAP
     
    3434
    3535  You need to have the scons package installed (see o/s specific notes)
    36 
    3736{{{
    3837   scons
     
    6059   asap
    6160}}}
     61
     62If you not have root access to the machine you are installing on (or do not want to install asap in the default location, then you needs to pass the "prefix" and "moduledir" options to scons. Try something like:
     63{{{
     64  setenv PREFIX /home/me/mydir
     65  setenv ASAPPY /home/me/python
     66  scons prefix=$PREFIX moduledir=$ASAPPY
     67}}}
     68
     69This will install the asap startup script in $PREFIX/bin and the python code on $ASAPPY/asap. To run you private version of asap you will need to set the PYTHONPATH environment variable to $ASAPPY/asap. To simplify your life it is recommended you edit $PREFIX/asap and add the lines (changed appropriately) near the beginning of the script:
     70{{{
     71  PYTHONPATH='/home/me/python/asap'
     72  export PYTHONPATH
     73}}}