Changes between Version 20 and Version 21 of pyRAF


Ignore:
Timestamp:
04/27/06 16:42:12 (21 years ago)
Author:
cdelarcuz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyRAF

    v20 v21  
    8989cdelacruz@metis:/usr/local/pyraf$ su iraf
    9090
    91 Numarray Installation:
    92 
    93 
     91=== Numarray Installation: ===
     92{{{
    9493metis:/usr/local/pyraf> cd stsci_python/numarray-1.4.1
    9594metis:/usr/local/pyraf/stsci_python/numarray-1.4.1> python
    9695metis:/usr/local/pyraf/stsci_python/numarray-1.4.1> sudo python setup.py config install --gencode
    9796
    98 
    9997metis:/usr/local/pyraf/stsci_python> sudo python setup.py install --with-f2c=/usr/bin/
    10098
    … …  
    107105apt-get install python2.4-dev
    108106sudo apt-get install python2.4-numarray python-numarray-doc
    109  
    110 
    111 
    112 PyRAF Setup
     107}}} 
     108
     109=== PyRAF Setup ===
     110
    113111After a default installation the pyraf startup script is located in the same directory with
    114112the python executable, so this directory has to be on the search path. Modify the environment
    … …  
    117115If "--local=", then pyraf's startup script is in /pyraf. In order to run PyRAF conveniently,
    118116you can define an alias or create a symbolic link to the startup script.
    119 
     117{{{
    120118%alias pyraf <install_dir>/bin/pyraf
    121119%cd /usr/local/bin (or some other directory on PATH)
    122120%ln -s /bin/pyraf pyraf
    123 
     121}}}
    124122Note for Linux users: There is a problem running iraf on some Linux systems
    125123(Fedora, RHEL, possibly others). Quote from the iraf web site:
    … …  
    129127"memory has been corrupted" or "segmentation violation" error. The workaround
    130128is to remove the stacksize limit in the user's shell with a command such as:
    131 
     129{{{
    132130%limit stacksize unlimited # for tcsh users
    133131%ulimit -s unlimited # for bash users
    134 
     132}}}
    135133As a preventive measure against this problem, the CL startup script was modified
    136134to implement this change and so most users who only use IRAF from the CL will not
    … …  
    146144Note: This script must be run from a directory other than stsci_python,
    147145for example your home directory.
    148 
     146{{{
    149147%cp stsci_python/test22.py ~
    150148%cd
    … …  
    157155
    158156(1) Testing the installed redhat binairies (instead of compiling):
    159 
    160 
     157{{{
    161158tv> display pat4.fits
    162159ERROR: Cannot open device (node!imtool,,512,512)
    … …  
    222219use the redhat binaries;
    223220run the install script but modify the directory names (redhat >>> linux).
    224 
     221}}}
    225222
    226223For Pyraf installation, downloaded all dependant packages from
    … …  
    270267                ./configure --prefix=/usr/local/pyraf/install
    271268        edit /Python-2.3.4/Modules/Setup
    272                
     269{{{             
    273270# *** Always uncomment this (leave the leading underscore in!):
    274271 _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
    … …  
    302299# *** Always uncomment this; X11 libraries to link with:
    303300        -lX11
    304 
    305301       
    306302
    307303        make
    308304        make install
    309 
     305}}}
    310306(8) Install Numeric:
    311307        gunzip -d Numeric-23.8.tar.gz