| 107 | | Using EXTRA_COMPILE_ARGS = [] |
| 108 | | generating new API module 'libnumarray' .c & .h |
| 109 | | generating new API module 'libteacup' .c & .h |
| 110 | | generating new API module 'libnumeric' .c & .h |
| 111 | | Using builtin 'lite' BLAS and LAPACK |
| 112 | | running config |
| 113 | | Wrote config.h |
| 114 | | cdelacruz@metis:/usr/local/pyraf/stsci_python/numarray-1.4.1$ |
| | 106 | metis:/usr/local/pyraf> cd stsci_python/numarray-1.4.1 |
| | 107 | metis:/usr/local/pyraf/stsci_python/numarray-1.4.1> python |
| | 108 | metis:/usr/local/pyraf/stsci_python/numarray-1.4.1> sudo python setup.py config install --gencode |
| 117 | | |
| 118 | | Install rest of packages: |
| 119 | | Issues with numarray path, installed (python2.4) numarray using apt-get: |
| 120 | | |
| 121 | | python2.4-numarray - An array processing package modelled after Python-Numeric |
| 122 | | python2.4-numarray-ext - Extension modules for Python array processing |
| 123 | | |
| 124 | | cdelacruz@metis:/usr/local/pyraf/stsci_python/numarray-1.4.1$ sudo apt-get install python2.4-numarray |
| 125 | | cdelacruz@metis:/usr/local/pyraf/stsci_python/numarray-1.4.1$ sudo apt-get install python-numarray-doc |
| 126 | | |
| 127 | | Installed remaining packages: |
| | 111 | metis:/usr/local/pyraf/stsci_python> sudo python setup.py install --with-f2c=/usr/bin/ |
| 136 | | Copied missing files and recompiled: |
| 137 | | cdelacruz@metis:/usr/include$ sudo cp /usr/lib/libf2c* /usr/bin |
| | 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: |
| | 124 | |
| | 125 | %limit stacksize unlimited # for tcsh users |
| | 126 | %ulimit -s unlimited # for bash users |
| | 127 | |
| | 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." |
| | 129 | |
| | 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). |
| | 131 | 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. |
| | 133 | |
| | 134 | Note: This script must be run from a directory other than stsci_python, for example your home directory. |
| | 135 | |
| | 136 | %cp stsci_python/test22.py ~ |
| | 137 | %cd |
| | 138 | %python test22.py |