Changes between Version 6 and Version 7 of pyRAF


Ignore:
Timestamp:
02/23/06 13:20:35 (21 years ago)
Author:
cdelarcuz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyRAF

    v6 v7  
    113113
    114114PyRAF Setup
    115 After a default installation the pyraf startup script is located in the same directory with the python executable, so this directory has to be on the search path. Modify the environment variable $PATH if necessary. If the software was installed in a personal directory, with either "--home=" or "--prefix=", then the startup script is located in /bin. If "--local=", then pyraf's startup script is in /pyraf. In order to run PyRAF conveniently, you can define an alias or create a symbolic link to the startup script.
     115After a default installation the pyraf startup script is located in the same directory with
     116the python executable, so this directory has to be on the search path. Modify the environment
     117variable $PATH if necessary. If the software was installed in a personal directory,
     118with either "--home=" or "--prefix=", then the startup script is located in /bin.
     119If "--local=", then pyraf's startup script is in /pyraf. In order to run PyRAF conveniently,
     120you can define an alias or create a symbolic link to the startup script.
    116121
    117122%alias pyraf <install_dir>/bin/pyraf
    … …  
    119124%ln -s /bin/pyraf pyraf
    120125
    121 Note for Linux users: There is a problem running iraf on some Linux systems (Fedora, RHEL, possibly others). Quote from the iraf web site:
     126Note for Linux users: There is a problem running iraf on some Linux systems
     127(Fedora, RHEL, possibly others). Quote from the iraf web site:
    122128
    123 " Specifically, pointers allocated in the normal course of a task may occasionally be at an address outside the user's per-process stack space, resulting in a "memory has been corrupted" or "segmentation violation" error. The workaround is to remove the stacksize limit in the user's shell with a command such as:
     129" Specifically, pointers allocated in the normal course of a task may occasionally
     130be at an address outside the user's per-process stack space, resulting in a
     131"memory has been corrupted" or "segmentation violation" error. The workaround
     132is to remove the stacksize limit in the user's shell with a command such as:
    124133
    125134%limit stacksize unlimited # for tcsh users
    126135%ulimit -s unlimited # for bash users
    127136
    128 As a preventive measure against this problem, the CL startup script was modified to implement this change and so most users who only use IRAF from the CL will not need to take any special action."
     137As a preventive measure against this problem, the CL startup script was modified
     138to implement this change and so most users who only use IRAF from the CL will not
     139need to take any special action."
    129140
    130 PyRAF does not use the CL start up script, so you will need to have this command in your unix start up files (for example ~/.login).
     141PyRAF does not use the CL start up script, so you will need to have this command
     142in your unix start up files (for example ~/.login).
    131143Testing The Installation
    132 After you finish the installation of all packages, you can run the script stsci_python/test22.py to check the integrity and version compatibility of the installation.
     144After you finish the installation of all packages, you can run
     145the script stsci_python/test22.py to check the integrity and version
     146compatibility of the installation.
    133147
    134 Note: This script must be run from a directory other than stsci_python, for example your home directory.
     148Note: This script must be run from a directory other than stsci_python,
     149for example your home directory.
    135150
    136151%cp stsci_python/test22.py ~