2.7.1
Adding in the following modules:
distribute0.6.16
pip1.0.1
nose1.0.0
numpy 1.5.1
pyfits 2.4.0
matplotlib1.0.0
pywcs 1.10-4.7
APLpy 0.9.5
4Suite-XML 1.0.2
scipy 0.9.0
iPython 0.10.2
pywcsgrid2
redhat4-i686-32bit-gcc34
These instructions should be performed as the glastrm user or with appropriate priviledges to write in the GLAST_EXT area.
- Download Python 2.7.1 from http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs if it doesn't already exist.
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Ungzip and Untar the file Python-2.7.1.tgz
- Change directory to Python-2.7.1
- edit setup.py, in detect_modules() change the lines from:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
to:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
add_dir_to_list(self.compiler.library_dirs, '/usr/lib')
add_dir_to_list(self.compiler.include_dirs, '/usr/include')
- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.7.1/gcc34
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.1)
Additional Python Modules
These modules should additionally be installed into python after updating PATH to point to the new python binary.
distribute 0.6.16 for use with pip
- curl -O http://python-distribute.org/distribute_setup.py
- python distribute_setup.py
pip 1.0.1
easy_install replacement that should also work with python 3.0
- curl -O https://github.com/pypa/pip/raw/master/contrib/get-pip.py
- python get-pip.py
nose 1.0.0
unit test framework necessary for running numpy and scipy unit tests
- pip install nose
NumPy - 1.5.1
Still installing by hand to include --fcompiler flag to force correct fortran compiler to be used. This is dictated by whatever blas and lapack are linked against. For more information, see the numpy INSTALL.txt file.
- Download numpy-1.5.1.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract numpy-1.5.1.tar.gz
- Change directory to numpy-1.5.1
- python setup.py build --fcompiler=gnu (for g77) or gnu95 for gfortran.
It seems the rhel4s have blas and lapack linked against g77, while rhel5 uses 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.5.1)
PyFITS - 2.1.1
- 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.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/python
- Extract pyfits-2.1.1.tar.gz
- Change directory to pyfits-2.1.1
- 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 pyfits-2.1.1
matplotlib 0.99
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract matplotlib-0.99.1.tar.gz
- Change directory to matplotlib-0.99.1/
- setenv DISPLAY localhost:0.0
- xhost +
- Edit setup.cfg set wxagg = False, macosx = False
- Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.6.5/gcc34/bin/python setup.py build
- 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 matplotlib-0.99.1/
pywcs-1.7-4.4.4
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract pywcs-1.7-4.4.4.tar.gz
- Change directory to pywcs-1.7-4.4.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 pywcs-1.7-4.4.4
APLpy-0.9.4
- 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
iPython - 0.10
- Download ipython-0.10.tar.gz from http://ipython.scipy.org/dist/ipython-0.10.tar.gz 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/python
- Extract ipython-0.10.tar.gz
- Change directory to ipython-0.10
- 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 ipython-0.10
Scipy - 0.7.2
- Download ipython-0.10.tar.gz from http://www.scipy.org/ 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/python
- Extract scipy-0.7.2.tar.gz
- Change directory to scipy-0.7.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
- Leave and erase scipy-0.7.2
2.5.1
These are instructions for building Python 2.5.1 for the various OSes supported.
tiger-i386-32bit
These instructions should be performed as the glastrm user on the machine bldmac01 (accessible only from within SLAC).
- Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz 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
- Ungzip and Untar the file Python-2.5.1.tgz
- Change directory to Python-2.5.1
- Set the environment variable EXTRA_CFLAGS to "-fno-common"
- Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit/python/2.5.1-gl3/gcc40 --enable-unicode=ucs2
- Edit the file Modules/posixmodule.c and change lines 342 and 360 to "#ifdef _APPLE_" (without quotes) and save/exit.
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.5.1)
Additional Python Modules
These modules should additionally be installed into python.
NumPy - 1.2.0
- Download numpy-1.2.0.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858 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 numpy-1.2.0.tar.gz
- Change directory to numpy-1.2.0
- 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 the current directory (numpy-1.2.0)
PyFITS - 1.3
- 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
2.5.1-gl4
These are the instructions to build python 2.5.1-gl4 on the various supported platforms
tiger-i386-32bit-gcc40
These instructions should be performed as the glastrm user on the machine bldmac01 (accessible only from within SLAC).
- Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz 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/python
- Ungzip and Untar the file Python-2.5.1.tgz
- Change directory to Python-2.5.1
- Set the environment variable EXTRA_CFLAGS to "-fno-common"
- Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc40/python/2.5.1-gl4/gcc40 --enable-unicode=ucs2
- Edit the file Modules/posixmodule.c and change lines 342 and 360 to "#ifdef _APPLE_" (without quotes) and save/exit.
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.5.1)
Additional Python Modules
These modules should additionally be installed into python.
NumPy - 1.2.0
- Download numpy-1.2.0.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858 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 numpy-1.2.0.tar.gz
- Change directory to numpy-1.2.0
- 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 the current directory (numpy-1.2.0)
PyFITS - 2.1.1
- 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
iPython - 0.10
- Download ipython-0.10.tar.gz from http://ipython.scipy.org/dist/ipython-0.10.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 ipython-0.10.tar.gz
- Change directory to ipython-0.10
- 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 ipython-0.10
redhat5-i686-64bit-gcc41
These instructions should be performed as the glastrm user
- Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc41/python if it doesn't already exist.
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python
- Ungzip and Untar the file Python-2.5.1.tgz
- Change directory to Python-2.5.1
- Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
- Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python/2.5.1-gl4/gcc41
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.5.1)
2.5.1-gl5
redhat4-i686-32bit-gcc34
These are instructions for building Python 2.5.1 for the various OSes supported.
These instructions should be performed as the glastrm user
- Download Python 2.5.1 from http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc41/python if it doesn't already exist.
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Ungzip and Untar the file Python-2.5.1.tgz
- Change directory to Python-2.5.1
- Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
- edit setup.py, in detect_modules() change the lines from:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
to:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
add_dir_to_list(self.compiler.library_dirs, '/usr/lib')
add_dir_to_list(self.compiler.include_dirs, '/usr/include')
- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl5/gcc34
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.5.1)
Additional Python Modules
These modules should additionally be installed into python.
NumPy - 1.4.0
- Download numpy-1.4.0.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858 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/python
- Extract numpy-1.4.0.tar.gz
- Change directory to numpy-1.4.0
- 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 the current directory (numpy-1.4.0)
PyFITS - 2.1.1
- 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.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/python
- Extract pyfits-2.1.1.tar.gz
- Change directory to pyfits-2.1.1
- 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 pyfits-2.1.1
matplotlib 0.99
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract matplotlib-0.99.1.tar.gz
- Change directory to matplotlib-0.99.1/
- setenv DISPLAY localhost:0.0
- xhost +
- Edit setup.cfg set wxagg = False, macosx = False
- Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl5/gcc34/bin/python setup.py build
- 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 matplotlib-0.99.1/
pywcs-1.7-4.4.4
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract pywcs-1.7-4.4.4.tar.gz
- Change directory to pywcs-1.7-4.4.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 pywcs-1.7-4.4.4
APLpy-0.9.4
- 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
iPython - 0.10
- Download ipython-0.10.tar.gz from http://ipython.scipy.org/dist/ipython-0.10.tar.gz 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/python
- Extract ipython-0.10.tar.gz
- Change directory to ipython-0.10
- 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 ipython-0.10
2.6.5
redhat4-i686-32bit-gcc34
These are instructions for building Python 2.6.5 for the various OSes supported.
These instructions should be performed as the glastrm user
- Download Python 2.6.5 from http://www.python.org/ftp/python/2.6.5/Python-2.6.5.tgz and save to /afs/slac/g/glast/ground/GLAST_EXT/tiger-i386-32bit-gcc41/python if it doesn't already exist.
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Ungzip and Untar the file Python-2.6.5.tgz
- Change directory to Python-2.6.5
- Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
- edit setup.py, in detect_modules() change the lines from:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
to:
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
add_dir_to_list(self.compiler.library_dirs, '/usr/lib')
add_dir_to_list(self.compiler.include_dirs, '/usr/include')
- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.6.5/gcc34
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.6.5)
Windows-vc90
Note that 2.6.5 defaults to VS2008 as do the various add-ons
- Download Python 2.6.5 installer from http://www.python.org
- Add
- numpy 1.4.1
- pyfits 2.3.1
- matplotlib 0.99.3
- pywcs 1.81-4.4.4 using tar.gz using python setup.py install
- aplpy 0.9.4 tar.gz using python setup.py install
- 4SuiteXML 1.0.2 using zip file
- scipy 0.8.0b1
- ipython 0.10, install using tar.gz using python setup.py install
- setuptools 0.6c11
- nose 0.11.3 install from tar.gz using python setup.py install
Additional Python Modules
These modules should additionally be installed into python.
NumPy - 1.4.0
- Download numpy-1.4.0.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858 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/python
- Extract numpy-1.4.0.tar.gz
- Change directory to numpy-1.4.0
- 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 the current directory (numpy-1.4.0)
PyFITS - 2.1.1
- 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.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/python
- Extract pyfits-2.1.1.tar.gz
- Change directory to pyfits-2.1.1
- 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 pyfits-2.1.1
matplotlib 0.99
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract matplotlib-0.99.1.tar.gz
- Change directory to matplotlib-0.99.1/
- setenv DISPLAY localhost:0.0
- xhost +
- Edit setup.cfg set wxagg = False, macosx = False
- Execute /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.6.5/gcc34/bin/python setup.py build
- 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 matplotlib-0.99.1/
pywcs-1.7-4.4.4
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract pywcs-1.7-4.4.4.tar.gz
- Change directory to pywcs-1.7-4.4.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 pywcs-1.7-4.4.4
APLpy-0.9.4
- 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
iPython - 0.10
- Download ipython-0.10.tar.gz from http://ipython.scipy.org/dist/ipython-0.10.tar.gz 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/python
- Extract ipython-0.10.tar.gz
- Change directory to ipython-0.10
- 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 ipython-0.10
Scipy - 0.7.2
- Download ipython-0.10.tar.gz from http://www.scipy.org/ 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/python
- Extract scipy-0.7.2.tar.gz
- Change directory to scipy-0.7.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
- Leave and erase scipy-0.7.2