...
- pip install pyfits (3.3)
- pip install pywcs (1.12)
- pip install APLpy (0.9.14)
- 4Suite-XML 1.0.2, using the tarball available and then run: python setup.py install
pywcsgrid2-0.1b2 tarball should be within our GLAST_EXT area
extractcd
python setup.py install
- 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
- Obtain python source from python.org
- Ungzip/Untar source
- Change directory to Python-2.7.6
- Set the environment variable EXTRA_CFLAGS to "-fPIC -fwrapv"
- Change directory to Python-2.7.2
- 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') - setenv LDFLAGS -fPIC; setenv CPPFLAGS -fPIC; setenv CFLAGS -m64 -fPIC need to force 64 bit build even on rhel6-64
- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat5-i386-32bit-gcc41/python/2.7.6
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.6)
...