Changes between Version 6 and Version 7 of pyRAF
- Timestamp:
- 02/23/06 13:20:35 (21 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyRAF
v6 v7 113 113 114 114 PyRAF 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. 115 After a default installation the pyraf startup script is located in the same directory with 116 the python executable, so this directory has to be on the search path. Modify the environment 117 variable $PATH if necessary. If the software was installed in a personal directory, 118 with either "--home=" or "--prefix=", then the startup script is located in /bin. 119 If "--local=", then pyraf's startup script is in /pyraf. In order to run PyRAF conveniently, 120 you can define an alias or create a symbolic link to the startup script. 116 121 117 122 %alias pyraf <install_dir>/bin/pyraf … … 119 124 %ln -s /bin/pyraf pyraf 120 125 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: 126 Note for Linux users: There is a problem running iraf on some Linux systems 127 (Fedora, RHEL, possibly others). Quote from the iraf web site: 122 128 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 130 be 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 132 is to remove the stacksize limit in the user's shell with a command such as: 124 133 125 134 %limit stacksize unlimited # for tcsh users 126 135 %ulimit -s unlimited # for bash users 127 136 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." 137 As a preventive measure against this problem, the CL startup script was modified 138 to implement this change and so most users who only use IRAF from the CL will not 139 need to take any special action." 129 140 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). 141 PyRAF does not use the CL start up script, so you will need to have this command 142 in your unix start up files (for example ~/.login). 131 143 Testing 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. 144 After you finish the installation of all packages, you can run 145 the script stsci_python/test22.py to check the integrity and version 146 compatibility of the installation. 133 147 134 Note: This script must be run from a directory other than stsci_python, for example your home directory. 148 Note: This script must be run from a directory other than stsci_python, 149 for example your home directory. 135 150 136 151 %cp stsci_python/test22.py ~
