Versions Compared

Key

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

...

  1. pip install pyfits  (3.3)
  2. pip install pywcs (1.12)
  3. pip install APLpy (0.9.14)
  4. 4Suite-XML 1.0.2, using the tarball available and then run: python setup.py install
  5. pywcsgrid2-0.1b2 tarball should be within  our GLAST_EXT area
    extract

    cd

    python setup.py install

  6. pip install healpy (1.8.4)

 

2.7.6-gl2

Info

Failure so far in numpy install due to missing blas/lapack in /usr/lib. Opened ticket with SLAC unix-admin

 

redhat6-x86_64bit-gcc44

  1. Obtain python source from python.org
  2. Ungzip/Untar source
  3. Change directory to Python-2.7.6
  4. Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
  5. Change directory to Python-2.7.2
  6. 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')

  7. setenv LDFLAGS -fPIC; setenv CPPFLAGS -fPIC; setenv CFLAGS  -m64 -fPIC need to force 64 bit build even on rhel6-64
  8. Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat5-i386-32bit-gcc41/python/2.7.6
  9. Execute make
  10. Execute make install
  11. Leave and erase the current directory (Python-2.7.6)

...