Changes between Version 20 and Version 21 of pyRAF
- Timestamp:
- 04/27/06 16:42:12 (21 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyRAF
v20 v21 89 89 cdelacruz@metis:/usr/local/pyraf$ su iraf 90 90 91 Numarray Installation: 92 93 91 === Numarray Installation: === 92 {{{ 94 93 metis:/usr/local/pyraf> cd stsci_python/numarray-1.4.1 95 94 metis:/usr/local/pyraf/stsci_python/numarray-1.4.1> python 96 95 metis:/usr/local/pyraf/stsci_python/numarray-1.4.1> sudo python setup.py config install --gencode 97 96 98 99 97 metis:/usr/local/pyraf/stsci_python> sudo python setup.py install --with-f2c=/usr/bin/ 100 98 … … 107 105 apt-get install python2.4-dev 108 106 sudo apt-get install python2.4-numarray python-numarray-doc 109 110 111 112 PyRAF Setup 107 }}} 108 109 === PyRAF Setup === 110 113 111 After a default installation the pyraf startup script is located in the same directory with 114 112 the python executable, so this directory has to be on the search path. Modify the environment … … 117 115 If "--local=", then pyraf's startup script is in /pyraf. In order to run PyRAF conveniently, 118 116 you can define an alias or create a symbolic link to the startup script. 119 117 {{{ 120 118 %alias pyraf <install_dir>/bin/pyraf 121 119 %cd /usr/local/bin (or some other directory on PATH) 122 120 %ln -s /bin/pyraf pyraf 123 121 }}} 124 122 Note for Linux users: There is a problem running iraf on some Linux systems 125 123 (Fedora, RHEL, possibly others). Quote from the iraf web site: … … 129 127 "memory has been corrupted" or "segmentation violation" error. The workaround 130 128 is to remove the stacksize limit in the user's shell with a command such as: 131 129 {{{ 132 130 %limit stacksize unlimited # for tcsh users 133 131 %ulimit -s unlimited # for bash users 134 132 }}} 135 133 As a preventive measure against this problem, the CL startup script was modified 136 134 to implement this change and so most users who only use IRAF from the CL will not … … 146 144 Note: This script must be run from a directory other than stsci_python, 147 145 for example your home directory. 148 146 {{{ 149 147 %cp stsci_python/test22.py ~ 150 148 %cd … … 157 155 158 156 (1) Testing the installed redhat binairies (instead of compiling): 159 160 157 {{{ 161 158 tv> display pat4.fits 162 159 ERROR: Cannot open device (node!imtool,,512,512) … … 222 219 use the redhat binaries; 223 220 run the install script but modify the directory names (redhat >>> linux). 224 221 }}} 225 222 226 223 For Pyraf installation, downloaded all dependant packages from … … 270 267 ./configure --prefix=/usr/local/pyraf/install 271 268 edit /Python-2.3.4/Modules/Setup 272 269 {{{ 273 270 # *** Always uncomment this (leave the leading underscore in!): 274 271 _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ … … 302 299 # *** Always uncomment this; X11 libraries to link with: 303 300 -lX11 304 305 301 306 302 307 303 make 308 304 make install 309 305 }}} 310 306 (8) Install Numeric: 311 307 gunzip -d Numeric-23.8.tar.gz
