Versions Compared

Key

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

...

      6. setenv LDFLAGS -fPIC; setenv CPPFLAGS -fPIC; setenv CFLAGS  -m64 -fPIC
need to force 64 bit build even on rhel6-64

  1. Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2 /gcc34 --enable-shared
    this will create a shared library.. however we also want a python executable built against the static library - so we need to repeat this procedure without --enable-shared turned on.
  2. Execute make
  3. Execute make install
  4. Leave and erase the current directory (Python-2.7.2)
  5. Wiki Markup
    install additional python modules the same way as python 2.7.1 instruction. As for matplotlib, most of matplolib unit tests requires functions from PIL imaging module which in turn requirez zlib.crc32 which has been an issue for us. After consulting with the users, we agreed that if in the future the users start to use functions in PIL, we will come back to re-visit the PIL issue again. For now, we will just skip the PIL module installation as we always have. Also there is a Scipy unit test need to be fixed after the Scipy installation. Edit scipy/stats/tests/test_morestats.py, change line #10 from "assert_raises" to "assert_raises, assert_" and change line #72 from "assert_array_less(crit\[:-1\], A)" to "assert_(A > crit\[-1\])".

...

We do not distribute IPython any long due to ongoing issues with hard-coded paths associated with IPython.  Instead, we manually create the tar.gz file and copy it over to u35, then install IPython for use at SLAC in the GLAST_EXT copy.

PyYAML 3.1.0

curl -O http://pyyaml.org/download/pyyaml/PyYAML-3.10.tar.gzImage Removed

python setup.py install

...