Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

2.7.3

Windows-i386-32bit-vc90 debug

...

pip install ipython
Run the iptest located in python's bin directory.

2.7.2 = 2.7.2-gl1 = 2.7.2-gl2

redhat6-x86_64-64bit-gcc44

...

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

...

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.

  1. Download numpy-1.5.1.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  3. Extract numpy-1.5.1.tar.gz
  4. Change directory to numpy-1.5.1
  5. 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
  6. python setup.py install
  7. Run the test routine by starting up python and doing:
    import numpy
    numpy.test()
  8. Leave and erase the current directory (numpy-1.5.1)

PyFITS - 2.4.0

  1. pip install pyfits

matplotlib 1.0.0

...

  1. pip install pywcs

APLpy-0.9.5

  1. pip install APLpy

4Suite XML - 1.0.2

...

  1. Download scipy-0.9.0.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.
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  3. Extract scipy-0.9.0.tar.gz
  4. Change directory to scipy-0.9.0
  5. Execute python setup.py config_fc --fcompiler=gnu install (gnu for g77 or gnu95 for gfortran) 
  6. Leave and erase scipy-0.9.0
  7. Test by starting up python and doing:
    import scipy
    scipy.test()

iPython - 0.10.2

  1. pip install ipython
  2. Run the iptest located in python's bin directory.

...

  1. 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.
  2. Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python
  3. Ungzip and Untar the file Python-2.5.1.tgz
  4. Change directory to Python-2.5.1
  5. Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
  6. Execute ./configure --prefix /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-64bit-gcc41/python/2.5.1-gl4/gcc41
  7. Execute make
  8. Execute make install
  9. 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 

...

  1. 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.
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  3. Extract numpy-1.4.0.tar.gz
  4. Change directory to numpy-1.4.0
  5. 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
  6. Leave and erase the current directory (numpy-1.4.0)

PyFITS - 2.1.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.
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  3. Extract pyfits-2.1.1.tar.gz
  4. Change directory to pyfits-2.1.1
  5. 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
  6. Leave and erase pyfits-2.1.1

matplotlib 0.99

  1. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  2. Extract matplotlib-0.99.1.tar.gz
  3. Change directory to matplotlib-0.99.1/ 
  4. setenv DISPLAY localhost:0.0
  5. xhost +
  6. Edit setup.cfg set wxagg = False, macosx = False
  7. 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
  8. 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
  9. Leave and erase matplotlib-0.99.1/

pywcs-1.7-4.4.4

  1. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  2. Extract pywcs-1.7-4.4.4.tar.gz
  3. Change directory to pywcs-1.7-4.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
  5. Leave and erase pywcs-1.7-4.4.4

APLpy-0.9.4

  1. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  2. Extract APLpy-0.9.4.tar.gz
  3. Change directory to APLpy-0.9.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
  5. Leave and erase APLpy-0.9.4

4Suite XML - 1.0.2

  1. 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.
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/pythonExtract 4Suite-XML-1.0.2.tar.gz
  3. Change directory to 4Suite-XML-1.0.2
  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 --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl5/gcc34
  5. Leave and erase 4Suite-XML-1.0.2

iPython - 0.10

  1. 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.
  2. Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
  3. Extract ipython-0.10.tar.gz
  4. Change directory to ipython-0.10
  5. 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
  6. Leave and erase ipython-0.10

...