Table of Contents |
---|
2.7.2
Adding in the following modules:
distribute0.6.21
pip1.0.1
nose1.0.0
numpy 1.6.1
pyfits 3.0.3
matplotlib1.0.0
pywcs 1.10-4.7
APLpy 0.9.6
4Suite-XML 1.0.2
scipy 0.9.0
iPython 0.11
pywcsgrid2
redhat6-x86_64-64bit-gcc44
...
- Download numpy-1.6.1.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858
- Extract numpy-1.6.1.tar.gz
- Change directory to numpy-1.56.1
- python setup.py build --fcompiler=gnu95 (for gfortran)
- python setup.py install
- Run the test routine by starting up python and doing:
import numpy
numpy.test() - Leave and erase the current directory (numpy-1.56.1)
PyFITS - 3.1
pip install pyfits
matplotlib 1.1.0
pip install matplotlib
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz
pywcs-1.11-4.8.2
pip install pywcs
APLpy-0.9.8
pip install APLpy
4Suite XML - 1.0.2
The 4Suite-XML web site no longer works via easy_install. Installing by hand
python setup.py install
SciPy - 0.10.1
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
Download scipy-0.10.1.tar.gz from http://www.scipy.org/ and save to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-i686-64bit-gcc44/python if it doesn't already exist.
Extract scipy-0.10.1.tar.gz
Change directory to scipy-0.10.1
Execute python setup.py config_fc --fcompiler=gnu95 install
Leave and erase scipy-0.10.1
Test by starting up python and doing:
import scipy
scipy.test()
iPython - 0.10.2
pip install ipython
Run the iptest located in python's bin directory.
pywcsgrid2
Download from https://github.com/leejjoon/pywcsgrid2/downloads
Extract
cd
python setup.py install
2.7.1
Adding in the following modules:
...
APLpy-0.9.5
- pip install APLpy
4Suite XML - 1.0.2
This module was not recognized by pip. Using easy_install instead.
...
- Download pyfits-1.3.tar.gz from http://www.stsci.edu/resources/software_hardware/pyfits/pyfits-1.3.tar.gz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/ if it doesn't already exist.
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python
- Extract pyfits-1.3.tar.gz
- Change directory to pyfits-1.3
- Execute /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/2.5.1-gl3/gcc40/bin/python setup.py install
- Leave and erase pyfits-1.3
4Suite XML - 1.0.2
- Download 4Suite-XML-1.0.2.tar.gz from http://downloads.sourceforge.net/sourceforge/foursuite/4Suite-XML-1.0.2.tar.gz?use_mirror=voxel and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/ if it doesn't already exist.
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python
- Extract 4Suite-XML-1.0.2.tar.gz
- Change directory to 4Suite-XML-1.0.2
- Execute /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/2.5.1-gl3/gcc40/bin/python setup.py install --prefix /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/2.5.1-gl3/gcc40
- Leave and erase 4Suite-XML-1.0.2
...
- Download pyfits-2.1.1.tar.gz from http://www.stsci.edu/resources/software_hardware/pyfits/pyfits-2.1.1.tar.gz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/ if it doesn't already exist.
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python
- Extract pyfits-2.1.1.tar.gz
- Change directory to pyfits-2.1.1
- Execute /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/2.5.1-gl4/gcc40/bin/python setup.py install
- Leave and erase pyfits-2.1.1
4Suite XML - 1.0.2
- Download 4Suite-XML-1.0.2.tar.gz from http://downloads.sourceforge.net/sourceforge/foursuite/4Suite-XML-1.0.2.tar.gz?use_mirror=voxel and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/ if it doesn't already exist.
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python
- Extract 4Suite-XML-1.0.2.tar.gz
- Change directory to 4Suite-XML-1.0.2
- Execute /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/2.5.1-gl4/gcc40/bin/python setup.py install --prefix /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/2.5.1-gl4/gcc40
- Leave and erase 4Suite-XML-1.0.2
...
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract APLpy-0.9.4.tar.gz
- Change directory to APLpy-0.9.4
- Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl5/gcc34/bin/python setup.py install
- Leave and erase APLpy-0.9.4
4Suite XML - 1.0.2
- Download 4Suite-XML-1.0.2.tar.gz from http://downloads.sourceforge.net/sourceforge/foursuite/4Suite-XML-1.0.2.tar.gz?use_mirror=voxel and save to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python if it doesn't already exist.
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/pythonExtract 4Suite-XML-1.0.2.tar.gz
- Change directory to 4Suite-XML-1.0.2
- Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl5/gcc34/bin/python setup.py install --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl5/gcc34
- Leave and erase 4Suite-XML-1.0.2
...
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract APLpy-0.9.4.tar.gz
- Change directory to APLpy-0.9.4
- Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.6.5/gcc34/bin/python setup.py install
- Leave and erase APLpy-0.9.4
4Suite XML - 1.0.2
- Download 4Suite-XML-1.0.2.tar.gz from http://downloads.sourceforge.net/sourceforge/foursuite/4Suite-XML-1.0.2.tar.gz?use_mirror=voxel and save to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python if it doesn't already exist.
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/pythonExtract 4Suite-XML-1.0.2.tar.gz
- Change directory to 4Suite-XML-1.0.2
- Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.6.5/gcc34/bin/python setup.py install --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.6.5/gcc34
- Leave and erase 4Suite-XML-1.0.2
...