Anaconda2-4.2.0
- pip install pyfits (3.4)
- pip install pywcs (1.12)
- pip install APLpy (1.1.1) which requires astropy
4Suite-XML 1.0.2, using the tarball available and then run: python setup.py installskipped since 4Suite-XML would not installpywcsgrid2-0.1b2 tarball should be within our GLAST_EXT area
extractcd
python setup.py install
- conda install -c conda-forge healpy (1.9.1-np111py27_0)
- pmw
- wcsaxes (0.6-py27_0) http://wcsaxes.readthedocs.org/en/latest/installation.html
conda install -c openastronomy wcsaxes
2.7.12
Started with Anaconda2-4.0.0.sh, which install python 2.7.11, however installing healpy via conda results in an upgrade to python 2.7.12
2.7.11 (never officially released)
Anaconda Python (python 2.7.11)
[/u/gl/heather/anaconda2] >>> /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.11 PREFIX=/afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.11 installing: _cache-0.0-py27_x0 ... installing: python-2.7.11-0 ... installing: alabaster-0.7.7-py27_0 ... installing: anaconda-client-1.4.0-py27_0 ... installing: anaconda-navigator-1.1.0-py27_0 ... installing: argcomplete-1.0.0-py27_1 ... installing: astropy-1.1.2-np110py27_0 ... installing: babel-2.2.0-py27_0 ... installing: backports_abc-0.4-py27_0 ... installing: beautifulsoup4-4.4.1-py27_0 ... installing: bitarray-0.8.1-py27_0 ... installing: blaze-0.9.1-py27_0 ... installing: bokeh-0.11.1-py27_0 ... installing: boto-2.39.0-py27_0 ... installing: bottleneck-1.0.0-np110py27_0 ... installing: cairo-1.12.18-6 ... installing: cdecimal-2.3-py27_0 ... installing: cffi-1.5.2-py27_0 ... installing: chest-0.2.3-py27_0 ... installing: cloudpickle-0.1.1-py27_0 ... installing: clyent-1.2.1-py27_0 ... installing: colorama-0.3.7-py27_0 ... installing: conda-manager-0.3.1-py27_0 ... installing: configobj-5.0.6-py27_0 ... installing: cryptography-1.3-py27_0 ... installing: curl-7.45.0-0 ... installing: cycler-0.10.0-py27_0 ... installing: cython-0.23.4-py27_0 ... installing: cytoolz-0.7.5-py27_0 ... installing: dask-0.8.1-py27_0 ... installing: datashape-0.5.1-py27_0 ... installing: decorator-4.0.9-py27_0 ... installing: dill-0.2.4-py27_0 ... installing: docutils-0.12-py27_0 ... installing: dynd-python-0.7.2-py27_0 ... installing: enum34-1.1.2-py27_0 ... installing: et_xmlfile-1.0.1-py27_0 ... installing: fastcache-1.0.2-py27_0 ... installing: flask-0.10.1-py27_1 ... installing: flask-cors-2.1.2-py27_0 ... installing: fontconfig-2.11.1-5 ... installing: freetype-2.5.5-0 ... installing: funcsigs-0.4-py27_0 ... installing: futures-3.0.3-py27_0 ... installing: gevent-1.1.0-py27_0 ... installing: greenlet-0.4.9-py27_0 ... installing: grin-1.2.1-py27_1 ... installing: h5py-2.5.0-np110py27_4 ... installing: hdf5-1.8.15.1-2 ... installing: heapdict-1.0.0-py27_0 ... installing: idna-2.0-py27_0 ... installing: ipaddress-1.0.14-py27_0 ... installing: ipykernel-4.3.1-py27_0 ... installing: ipython-4.1.2-py27_1 ... installing: ipython_genutils-0.1.0-py27_0 ... installing: ipywidgets-4.1.1-py27_0 ... installing: itsdangerous-0.24-py27_0 ... installing: jbig-2.1-0 ... installing: jdcal-1.2-py27_0 ... installing: jedi-0.9.0-py27_0 ... installing: jinja2-2.8-py27_0 ... installing: jpeg-8d-0 ... installing: jsonschema-2.4.0-py27_0 ... installing: jupyter-1.0.0-py27_2 ... installing: jupyter_client-4.2.2-py27_0 ... installing: jupyter_console-4.1.1-py27_0 ... installing: jupyter_core-4.1.0-py27_0 ... installing: libdynd-0.7.2-0 ... installing: libffi-3.0.13-0 ... installing: libgfortran-3.0-0 ... installing: libpng-1.6.17-0 ... installing: libsodium-1.0.3-0 ... installing: libtiff-4.0.6-1 ... installing: libxml2-2.9.2-0 ... installing: libxslt-1.1.28-0 ... installing: llvmlite-0.9.0-py27_0 ... installing: locket-0.2.0-py27_0 ... installing: lxml-3.6.0-py27_0 ... installing: markupsafe-0.23-py27_0 ... installing: matplotlib-1.5.1-np110py27_0 ... installing: mistune-0.7.2-py27_0 ... installing: mkl-11.3.1-0 ... installing: mkl-service-1.1.2-py27_0 ... installing: mpmath-0.19-py27_0 ... installing: multipledispatch-0.4.8-py27_0 ... installing: nbconvert-4.1.0-py27_0 ... installing: nbformat-4.0.1-py27_0 ... installing: networkx-1.11-py27_0 ... installing: nltk-3.2-py27_0 ... installing: nose-1.3.7-py27_0 ... installing: notebook-4.1.0-py27_1 ... installing: numba-0.24.0-np110py27_0 ... installing: numexpr-2.5-np110py27_0 ... installing: numpy-1.10.4-py27_1 ... installing: odo-0.4.2-py27_0 ... installing: openpyxl-2.3.2-py27_0 ... installing: openssl-1.0.2g-0 ... installing: pandas-0.18.0-np110py27_0 ... installing: partd-0.3.2-py27_1 ... installing: patchelf-0.8-0 ... installing: path.py-8.1.2-py27_1 ... installing: patsy-0.4.0-np110py27_0 ... installing: pep8-1.7.0-py27_0 ... installing: pexpect-4.0.1-py27_0 ... installing: pickleshare-0.5-py27_0 ... installing: pillow-3.1.1-py27_0 ... installing: pip-8.1.1-py27_1 ... installing: pixman-0.32.6-0 ... installing: ply-3.8-py27_0 ... installing: psutil-4.1.0-py27_0 ... installing: ptyprocess-0.5-py27_0 ... installing: py-1.4.31-py27_0 ... installing: pyasn1-0.1.9-py27_0 ... installing: pycairo-1.10.0-py27_0 ... installing: pycosat-0.6.1-py27_0 ... installing: pycparser-2.14-py27_0 ... installing: pycrypto-2.6.1-py27_0 ... installing: pycurl-7.19.5.3-py27_0 ... installing: pyflakes-1.1.0-py27_0 ... installing: pygments-2.1.1-py27_0 ... installing: pyopenssl-0.15.1-py27_2 ... installing: pyparsing-2.0.3-py27_0 ... installing: pyqt-4.11.4-py27_1 ... installing: pytables-3.2.2-np110py27_1 ... installing: pytest-2.8.5-py27_0 ... installing: python-dateutil-2.5.1-py27_0 ... installing: pytz-2016.2-py27_0 ... installing: pyyaml-3.11-py27_1 ... installing: pyzmq-15.2.0-py27_0 ... installing: qt-4.8.7-1 ... installing: qtawesome-0.3.2-py27_0 ... installing: qtconsole-4.2.0-py27_0 ... installing: qtpy-1.0-py27_0 ... installing: readline-6.2-2 ... installing: redis-2.6.9-0 ... installing: redis-py-2.10.3-py27_0 ... installing: requests-2.9.1-py27_0 ... installing: rope-0.9.4-py27_1 ... installing: scikit-image-0.12.3-np110py27_0 ... installing: scikit-learn-0.17.1-np110py27_0 ... installing: scipy-0.17.0-np110py27_2 ... installing: setuptools-20.3-py27_0 ... installing: simplegeneric-0.8.1-py27_0 ... installing: singledispatch-3.4.0.3-py27_0 ... installing: sip-4.16.9-py27_0 ... installing: six-1.10.0-py27_0 ... installing: snowballstemmer-1.2.1-py27_0 ... installing: sockjs-tornado-1.0.1-py27_0 ... installing: sphinx-1.3.5-py27_0 ... installing: sphinx_rtd_theme-0.1.9-py27_0 ... installing: spyder-2.3.8-py27_1 ... installing: sqlalchemy-1.0.12-py27_0 ... installing: sqlite-3.9.2-0 ... installing: ssl_match_hostname-3.4.0.2-py27_0 ... installing: statsmodels-0.6.1-np110py27_0 ... installing: sympy-1.0-py27_0 ... installing: terminado-0.5-py27_1 ... installing: tk-8.5.18-0 ... installing: toolz-0.7.4-py27_0 ... installing: tornado-4.3-py27_0 ... installing: traitlets-4.2.1-py27_0 ... installing: unicodecsv-0.14.1-py27_0 ... installing: util-linux-2.21-0 ... installing: werkzeug-0.11.4-py27_0 ... installing: wheel-0.29.0-py27_0 ... installing: xlrd-0.9.4-py27_0 ... installing: xlsxwriter-0.8.4-py27_0 ... installing: xlwt-1.0.0-py27_0 ... installing: xz-5.0.5-1 ... installing: yaml-0.1.6-0 ... installing: zeromq-4.1.3-0 ... installing: zlib-1.2.8-0 ... installing: anaconda-4.0.0-np110py27_0 ... installing: conda-4.0.5-py27_0 ... installing: conda-build-1.20.0-py27_0 ... installing: conda-env-2.4.5-py27_0 ... Python 2.7.11 :: Continuum Analytics, Inc. creating default environment... installation finished.
- pip install pyfits (3.4)
- pip install pywcs (1.12)
- pip install APLpy (1.0) which requires astropy
- 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
- conda install -c conda-forge healpy (1.9.1)
- pmw
- wcsaxes (0.6-py27_0) http://wcsaxes.readthedocs.org/en/latest/installation.html
conda install -c openastronomy wcsaxes
2.7.10
Trying Anaconda Python 2.3.0, which installs python 2.7.10
installing: python-2.7.10-0 ...
installing: conda-3.14.1-py27_0 ...
installing: conda-build-1.14.1-py27_0 ...
installing: conda-env-2.2.3-py27_0 ...
installing: _license-1.1-py27_0 ...
installing: abstract-rendering-0.5.1-np19py27_0 ...
installing: alabaster-0.7.3-py27_0 ...
installing: argcomplete-0.8.9-py27_0 ...
installing: astropy-1.0.3-np19py27_0 ...
installing: babel-1.3-py27_0 ...
installing: bcolz-0.9.0-np19py27_0 ...
installing: beautiful-soup-4.3.2-py27_0 ...
installing: binstar-0.11.0-py27_0 ...
installing: bitarray-0.8.1-py27_0 ...
installing: blaze-core-0.8.0-np19py27_0 ...
installing: blz-0.6.2-np19py27_1 ...
installing: bokeh-0.9.0-np19py27_0 ...
installing: boto-2.38.0-py27_0 ...
installing: bottleneck-1.0.0-np19py27_0 ...
installing: cairo-1.12.18-4 ...
installing: cdecimal-2.3-py27_0 ...
installing: certifi-14.05.14-py27_0 ...
installing: cffi-1.1.0-py27_0 ...
installing: clyent-0.3.4-py27_0 ...
installing: colorama-0.3.3-py27_0 ...
installing: configobj-5.0.6-py27_0 ...
installing: cryptography-0.9.1-py27_0 ...
installing: curl-7.43.0-0 ...
installing: cython-0.22.1-py27_0 ...
installing: cytoolz-0.7.3-py27_0 ...
installing: datashape-0.4.5-np19py27_0 ...
installing: decorator-3.4.2-py27_0 ...
installing: docutils-0.12-py27_0 ...
installing: dynd-python-0.6.5-np19py27_0 ...
installing: enum34-1.0.4-py27_0 ...
installing: fastcache-1.0.2-py27_0 ...
installing: flask-0.10.1-py27_1 ...
installing: fontconfig-2.11.1-4 ...
installing: freetype-2.5.2-2 ...
installing: funcsigs-0.4-py27_0 ...
installing: gevent-1.0.1-py27_0 ...
installing: gevent-websocket-0.9.3-py27_0 ...
installing: greenlet-0.4.7-py27_0 ...
installing: grin-1.2.1-py27_1 ...
installing: h5py-2.5.0-np19py27_3 ...
installing: hdf5-1.8.15.1-1 ...
installing: idna-2.0-py27_0 ...
installing: ipaddress-1.0.7-py27_0 ...
installing: ipython-3.2.0-py27_0 ...
installing: ipython-notebook-3.2.0-py27_0 ...
installing: ipython-qtconsole-3.2.0-py27_0 ...
installing: itsdangerous-0.24-py27_0 ...
installing: jdcal-1.0-py27_0 ...
installing: jedi-0.8.1-py27_0 ...
installing: jinja2-2.7.3-py27_1 ...
installing: jpeg-8d-0 ...
installing: jsonschema-2.4.0-py27_0 ...
installing: libdynd-0.6.5-0 ...
installing: libffi-3.0.13-0 ...
installing: libpng-1.6.17-0 ...
installing: libsodium-0.4.5-0 ...
installing: libtiff-4.0.2-1 ...
installing: libxml2-2.9.2-0 ...
installing: libxslt-1.1.28-0 ...
installing: llvmlite-0.5.0-py27_0 ...
installing: lxml-3.4.4-py27_0 ...
installing: markupsafe-0.23-py27_0 ...
installing: matplotlib-1.4.3-np19py27_2 ...
installing: mistune-0.5.1-py27_1 ...
installing: mock-1.0.1-py27_0 ...
installing: multipledispatch-0.4.7-py27_0 ...
installing: networkx-1.9.1-py27_0 ...
installing: nltk-3.0.3-np19py27_0 ...
installing: nose-1.3.7-py27_0 ...
installing: numba-0.19.1-np19py27_0 ...
installing: numexpr-2.4.3-np19py27_0 ...
installing: numpy-1.9.2-py27_0 ...
installing: odo-0.3.2-np19py27_0 ...
installing: openpyxl-1.8.5-py27_0 ...
installing: openssl-1.0.1k-1 ...
installing: pandas-0.16.2-np19py27_0 ...
installing: patsy-0.3.0-np19py27_0 ...
installing: pep8-1.6.2-py27_0 ...
installing: pillow-2.8.2-py27_0 ...
installing: pip-7.0.3-py27_0 ...
installing: pixman-0.26.2-0 ...
installing: ply-3.6-py27_0 ...
installing: psutil-2.2.1-py27_0 ...
installing: ptyprocess-0.4-py27_0 ...
installing: py-1.4.27-py27_0 ...
installing: py2cairo-1.10.0-py27_2 ...
installing: pyasn1-0.1.7-py27_0 ...
installing: pycosat-0.6.1-py27_0 ...
installing: pycparser-2.14-py27_0 ...
installing: pycrypto-2.6.1-py27_0 ...
installing: pycurl-7.19.5.1-py27_2 ...
installing: pyflakes-0.9.2-py27_0 ...
installing: pygments-2.0.2-py27_0 ...
installing: pyopenssl-0.15.1-py27_1 ...
installing: pyparsing-2.0.3-py27_0 ...
installing: pyqt-4.11.3-py27_1 ...
installing: pytables-3.2.0-np19py27_0 ...
installing: pytest-2.7.1-py27_0 ...
installing: python-dateutil-2.4.2-py27_0 ...
installing: pytz-2015.4-py27_0 ...
installing: pyyaml-3.11-py27_1 ...
installing: pyzmq-14.7.0-py27_0 ...
installing: qt-4.8.6-3 ...
installing: readline-6.2-2 ...
installing: redis-2.6.9-0 ...
installing: redis-py-2.10.3-py27_0 ...
installing: requests-2.7.0-py27_0 ...
installing: rope-0.9.4-py27_1 ...
installing: runipy-0.1.3-py27_0 ...
installing: scikit-image-0.11.3-np19py27_0 ...
installing: scikit-learn-0.16.1-np19py27_0 ...
installing: scipy-0.15.1-np19py27_0 ...
installing: setuptools-17.1.1-py27_0 ...
installing: sip-4.16.5-py27_0 ...
installing: six-1.9.0-py27_0 ...
installing: snowballstemmer-1.2.0-py27_0 ...
installing: sockjs-tornado-1.0.1-py27_0 ...
installing: sphinx-1.3.1-py27_0 ...
installing: sphinx_rtd_theme-0.1.7-py27_0 ...
installing: spyder-2.3.5.2-py27_0 ...
installing: spyder-app-2.3.5.2-py27_0 ...
installing: sqlalchemy-1.0.5-py27_0 ...
installing: sqlite-3.8.4.1-1 ...
installing: ssl_match_hostname-3.4.0.2-py27_0 ...
installing: statsmodels-0.6.1-np19py27_0 ...
installing: sympy-0.7.6-py27_0 ...
installing: system-5.8-2 ...
installing: terminado-0.5-py27_0 ...
installing: theano-0.7.0-np19py27_0 ...
installing: tk-8.5.18-0 ...
installing: toolz-0.7.2-py27_0 ...
installing: tornado-4.2-py27_0 ...
installing: ujson-1.33-py27_0 ...
installing: unicodecsv-0.9.4-py27_0 ...
installing: util-linux-2.21-0 ...
installing: werkzeug-0.10.4-py27_0 ...
installing: xlrd-0.9.3-py27_0 ...
installing: xlsxwriter-0.7.3-py27_0 ...
installing: xlwt-1.0.0-py27_0 ...
installing: yaml-0.1.6-0 ...
installing: zeromq-4.0.5-0 ...
installing: zlib-1.2.8-0 ...
installing: anaconda-2.3.0-np19py27_0 ...
installing: _cache-0.0-x0 ...
Python 2.7.10 :: Continuum Analytics, Inc.
creating default environment...
linktype: copy
linking: _cache-0.0-x0
linking: _license-1.1-py27_0
linking: abstract-rendering-0.5.1-np19py27_0
linking: alabaster-0.7.3-py27_0
linking: anaconda-2.3.0-np19py27_0
linking: argcomplete-0.8.9-py27_0
linking: astropy-1.0.3-np19py27_0
linking: babel-1.3-py27_0
linking: bcolz-0.9.0-np19py27_0
linking: beautiful-soup-4.3.2-py27_0
linking: binstar-0.11.0-py27_0
linking: bitarray-0.8.1-py27_0
linking: blaze-core-0.8.0-np19py27_0
linking: blz-0.6.2-np19py27_1
linking: bokeh-0.9.0-np19py27_0
linking: boto-2.38.0-py27_0
linking: bottleneck-1.0.0-np19py27_0
linking: cairo-1.12.18-4
linking: cdecimal-2.3-py27_0
linking: certifi-14.05.14-py27_0
linking: cffi-1.1.0-py27_0
linking: clyent-0.3.4-py27_0
linking: colorama-0.3.3-py27_0
linking: conda-3.14.1-py27_0
linking: conda-build-1.14.1-py27_0
linking: conda-env-2.2.3-py27_0
linking: configobj-5.0.6-py27_0
linking: cryptography-0.9.1-py27_0
linking: curl-7.43.0-0
linking: cython-0.22.1-py27_0
linking: cytoolz-0.7.3-py27_0
linking: datashape-0.4.5-np19py27_0
linking: decorator-3.4.2-py27_0
linking: docutils-0.12-py27_0
linking: dynd-python-0.6.5-np19py27_0
linking: enum34-1.0.4-py27_0
linking: fastcache-1.0.2-py27_0
linking: flask-0.10.1-py27_1
linking: fontconfig-2.11.1-4
linking: freetype-2.5.2-2
linking: funcsigs-0.4-py27_0
linking: gevent-1.0.1-py27_0
linking: gevent-websocket-0.9.3-py27_0
linking: greenlet-0.4.7-py27_0
linking: grin-1.2.1-py27_1
linking: h5py-2.5.0-np19py27_3
linking: hdf5-1.8.15.1-1
linking: idna-2.0-py27_0
linking: ipaddress-1.0.7-py27_0
linking: ipython-3.2.0-py27_0
linking: ipython-notebook-3.2.0-py27_0
linking: ipython-qtconsole-3.2.0-py27_0
linking: itsdangerous-0.24-py27_0
linking: jdcal-1.0-py27_0
linking: jedi-0.8.1-py27_0
linking: jinja2-2.7.3-py27_1
linking: jpeg-8d-0
linking: jsonschema-2.4.0-py27_0
linking: libdynd-0.6.5-0
linking: libffi-3.0.13-0
linking: libpng-1.6.17-0
linking: libsodium-0.4.5-0
linking: libtiff-4.0.2-1
linking: libxml2-2.9.2-0
linking: libxslt-1.1.28-0
linking: llvmlite-0.5.0-py27_0
linking: lxml-3.4.4-py27_0
linking: markupsafe-0.23-py27_0
linking: matplotlib-1.4.3-np19py27_2
linking: mistune-0.5.1-py27_1
linking: mock-1.0.1-py27_0
linking: multipledispatch-0.4.7-py27_0
linking: networkx-1.9.1-py27_0
linking: nltk-3.0.3-np19py27_0
linking: nose-1.3.7-py27_0
linking: numba-0.19.1-np19py27_0
linking: numexpr-2.4.3-np19py27_0
linking: numpy-1.9.2-py27_0
linking: odo-0.3.2-np19py27_0
linking: openpyxl-1.8.5-py27_0
linking: openssl-1.0.1k-1
linking: pandas-0.16.2-np19py27_0
linking: patsy-0.3.0-np19py27_0
linking: pep8-1.6.2-py27_0
linking: pillow-2.8.2-py27_0
linking: pip-7.0.3-py27_0
linking: pixman-0.26.2-0
linking: ply-3.6-py27_0
linking: psutil-2.2.1-py27_0
linking: ptyprocess-0.4-py27_0
linking: py-1.4.27-py27_0
linking: py2cairo-1.10.0-py27_2
linking: pyasn1-0.1.7-py27_0
linking: pycosat-0.6.1-py27_0
linking: pycparser-2.14-py27_0
linking: pycrypto-2.6.1-py27_0
linking: pycurl-7.19.5.1-py27_2
linking: pyflakes-0.9.2-py27_0
linking: pygments-2.0.2-py27_0
linking: pyopenssl-0.15.1-py27_1
linking: pyparsing-2.0.3-py27_0
linking: pyqt-4.11.3-py27_1
linking: pytables-3.2.0-np19py27_0
linking: pytest-2.7.1-py27_0
linking: python-2.7.10-0
linking: python-dateutil-2.4.2-py27_0
linking: pytz-2015.4-py27_0
linking: pyyaml-3.11-py27_1
linking: pyzmq-14.7.0-py27_0
linking: qt-4.8.6-3
linking: readline-6.2-2
linking: redis-2.6.9-0
linking: redis-py-2.10.3-py27_0
linking: requests-2.7.0-py27_0
linking: rope-0.9.4-py27_1
linking: runipy-0.1.3-py27_0
linking: scikit-image-0.11.3-np19py27_0
linking: scikit-learn-0.16.1-np19py27_0
linking: scipy-0.15.1-np19py27_0
linking: setuptools-17.1.1-py27_0
linking: sip-4.16.5-py27_0
linking: six-1.9.0-py27_0
linking: snowballstemmer-1.2.0-py27_0
linking: sockjs-tornado-1.0.1-py27_0
linking: sphinx-1.3.1-py27_0
linking: sphinx_rtd_theme-0.1.7-py27_0
linking: spyder-2.3.5.2-py27_0
linking: spyder-app-2.3.5.2-py27_0
linking: sqlalchemy-1.0.5-py27_0
linking: sqlite-3.8.4.1-1
linking: ssl_match_hostname-3.4.0.2-py27_0
linking: statsmodels-0.6.1-np19py27_0
linking: sympy-0.7.6-py27_0
linking: system-5.8-2
linking: terminado-0.5-py27_0
linking: theano-0.7.0-np19py27_0
linking: tk-8.5.18-0
linking: toolz-0.7.2-py27_0
linking: tornado-4.2-py27_0
linking: ujson-1.33-py27_0
linking: unicodecsv-0.9.4-py27_0
linking: util-linux-2.21-0
linking: werkzeug-0.10.4-py27_0
linking: xlrd-0.9.3-py27_0
linking: xlsxwriter-0.7.3-py27_0
linking: xlwt-1.0.0-py27_0
linking: yaml-0.1.6-0
linking: zeromq-4.0.5-0
linking: zlib-1.2.8-0
installation finished.
Still need to install pyfits, healpy, pmwcs
after Anaconda installation is finished, add bin directory to your PATH and then install additional packages needed for Fermi:
- pip install pyfits (3.4)
- pip install pywcs (1.12)
- pip install APLpy (0.9.14) which requires astropy
- 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)
- pmw
- wcsaxes http://wcsaxes.readthedocs.org/en/latest/installation.html
pip install wcsaxes - jupyter
redhat7
pip install pyfits (3.4)
pip install pywcs (1.12)
APLpy 0.9.14 from source via python setup.py install
The following packages will be UPDATED:
astropy: 1.0.3-np19py27_0 --> 1.1.2-np110py27_0 (soft-link)
conda: 3.14.1-py27_0 --> 4.0.5-py27_0 (soft-link)
conda-env: 2.2.3-py27_0 --> 2.4.5-py27_0 (soft-link)
numpy: 1.9.2-py27_0 --> 1.10.4-py27_1 (soft-link)
openssl: 1.0.1k-1 --> 1.0.2g-0 (soft-link)
pip: 7.0.3-py27_0 --> 8.1.1-py27_0 (soft-link)
python: 2.7.10-0 --> 2.7.11-0 (soft-link)
requests: 2.7.0-py27_0 --> 2.9.1-py27_0 (soft-link)
setuptools: 17.1.1-py27_0 --> 20.3-py27_0 (soft-link)
sqlite: 3.8.4.1-1 --> 3.9.2-0 (soft-link)
- 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.9.1)
- pmw
Pmw 1.3.3
Home page: http://pmw.sourceforge.net/
Note Pmw 2.0.0 is for Python 3.0 while the 1.3 series is meant for Python 2.x. The Pmw-2.0.0 tarball includes both versions and during the installation chooses the correct one to install based on the version of python.
- Download the source code from: http://sourceforge.net/projects/pmw/files/
- Unpack the tarball
- python setup.py install
- Test by running: python All.py in the site-packages/Pmw/Pmw_1_3_3/tests directory
2.7.8
Starting to try Anaconda Python distribution: Anaconda-2.1.0-Linux-x86_64.sh
[/u/gl/heather/anaconda] >>> /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.8
PREFIX=/afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.8
installing: python-2.7.8-1 ...
installing: conda-3.7.0-py27_0 ...
installing: conda-build-1.8.2-py27_0 ...
installing: _license-1.1-py27_0 ...
installing: abstract-rendering-0.5.1-np19py27_0 ...
installing: argcomplete-0.8.1-py27_0 ...
installing: astropy-0.4.2-np19py27_0 ...
installing: atom-0.3.9-py27_0 ...
installing: beautiful-soup-4.3.2-py27_0 ...
installing: binstar-0.7.1-py27_0 ...
installing: bitarray-0.8.1-py27_0 ...
installing: blaze-0.6.3-np19py27_0 ...
installing: blz-0.6.2-np19py27_0 ...
installing: bokeh-0.6.1-np19py27_0 ...
installing: boto-2.32.1-py27_0 ...
installing: cairo-1.12.2-2 ...
installing: casuarius-1.1-py27_0 ...
installing: cdecimal-2.3-py27_0 ...
installing: cffi-0.8.6-py27_0 ...
installing: chaco-4.4.1-np19py27_0 ...
installing: colorama-0.3.1-py27_0 ...
installing: configobj-5.0.6-py27_0 ...
installing: cryptography-0.5.4-py27_0 ...
installing: curl-7.38.0-0 ...
installing: cython-0.21-py27_0 ...
installing: cytoolz-0.7.0-py27_0 ...
installing: datashape-0.3.0-np19py27_1 ...
installing: dateutil-2.1-py27_2 ...
installing: decorator-3.4.0-py27_0 ...
installing: docutils-0.12-py27_0 ...
installing: dynd-python-0.6.5-np19py27_0 ...
installing: enable-4.3.0-np19py27_2 ...
installing: enaml-0.9.8-py27_0 ...
installing: flask-0.10.1-py27_1 ...
installing: freetype-2.4.10-0 ...
installing: future-0.13.1-py27_0 ...
installing: futures-2.1.6-py27_0 ...
installing: gevent-1.0.1-py27_0 ...
installing: gevent-websocket-0.9.3-py27_0 ...
installing: greenlet-0.4.4-py27_0 ...
installing: grin-1.2.1-py27_1 ...
installing: h5py-2.3.1-np19py27_0 ...
installing: hdf5-1.8.13-0 ...
installing: ipython-2.2.0-py27_0 ...
installing: ipython-notebook-2.2.0-py27_0 ...
installing: ipython-qtconsole-2.2.0-py27_0 ...
installing: itsdangerous-0.24-py27_0 ...
installing: jdcal-1.0-py27_0 ...
installing: jinja2-2.7.3-py27_1 ...
installing: jpeg-8d-0 ...
installing: kiwisolver-0.1.3-py27_0 ...
installing: lcms-1.19-0 ...
installing: libdynd-0.6.5-0 ...
installing: libffi-3.0.13-0 ...
installing: libpng-1.5.13-1 ...
installing: libsodium-0.4.5-0 ...
installing: libtiff-4.0.2-1 ...
installing: libxml2-2.9.0-0 ...
installing: libxslt-1.1.28-0 ...
installing: llvm-3.3-0 ...
installing: llvmpy-0.12.7-py27_0 ...
installing: lxml-3.4.0-py27_0 ...
installing: markupsafe-0.23-py27_0 ...
installing: matplotlib-1.4.0-np19py27_0 ...
installing: mock-1.0.1-py27_0 ...
installing: mpi4py-1.3-py27_0 ...
installing: mpich2-1.4.1p1-0 ...
installing: multipledispatch-0.4.7-py27_0 ...
installing: networkx-1.9.1-py27_0 ...
installing: nltk-3.0.0-np19py27_0 ...
installing: nose-1.3.4-py27_0 ...
installing: numba-0.14.0-np19py27_0 ...
installing: numexpr-2.3.1-np19py27_0 ...
installing: numpy-1.9.0-py27_0 ...
installing: openpyxl-1.8.5-py27_0 ...
installing: openssl-1.0.1h-1 ...
installing: pandas-0.14.1-np19py27_0 ...
installing: patsy-0.3.0-np19py27_0 ...
installing: pep8-1.5.7-py27_0 ...
installing: pil-1.1.7-py27_1 ...
installing: pip-1.5.6-py27_0 ...
installing: pixman-0.26.2-0 ...
installing: ply-3.4-py27_0 ...
installing: psutil-2.1.1-py27_0 ...
installing: py-1.4.25-py27_0 ...
installing: py2cairo-1.10.0-py27_1 ...
installing: pycosat-0.6.1-py27_0 ...
installing: pycparser-2.10-py27_0 ...
installing: pycrypto-2.6.1-py27_0 ...
installing: pycurl-7.19.5-py27_1 ...
installing: pyface-4.4.0-py27_0 ...
installing: pyflakes-0.8.1-py27_0 ...
installing: pygments-1.6-py27_0 ...
installing: pyopenssl-0.14-py27_0 ...
installing: pyparsing-2.0.1-py27_0 ...
installing: pyqt-4.10.4-py27_0 ...
installing: pytables-3.1.1-np19py27_1 ...
installing: pytest-2.6.3-py27_0 ...
installing: pytz-2014.7-py27_0 ...
installing: pyyaml-3.11-py27_0 ...
installing: pyzmq-14.3.1-py27_0 ...
installing: qt-4.8.5-0 ...
installing: readline-6.2-2 ...
installing: redis-2.6.9-0 ...
installing: redis-py-2.9.1-py27_0 ...
installing: requests-2.4.1-py27_0 ...
installing: rope-0.9.4-py27_1 ...
installing: runipy-0.1.1-py27_0 ...
installing: scikit-image-0.10.1-np19py27_0 ...
installing: scikit-learn-0.15.2-np19py27_0 ...
installing: scipy-0.14.0-np19py27_0 ...
installing: setuptools-5.8-py27_0 ...
installing: sip-4.15.5-py27_0 ...
installing: six-1.8.0-py27_0 ...
installing: sockjs-tornado-1.0.1-py27_0 ...
installing: sphinx-1.2.3-py27_0 ...
installing: spyder-2.3.1-py27_0 ...
installing: spyder-app-2.3.1-py27_0 ...
installing: sqlalchemy-0.9.7-py27_0 ...
installing: sqlite-3.8.4.1-0 ...
installing: ssl_match_hostname-3.4.0.2-py27_0 ...
installing: statsmodels-0.5.0-np19py27_2 ...
installing: sympy-0.7.5-py27_0 ...
installing: system-5.8-1 ...
installing: theano-0.6.0-np19py27_0 ...
installing: tk-8.5.15-0 ...
installing: toolz-0.7.0-py27_0 ...
installing: tornado-4.0.2-py27_0 ...
installing: traits-4.4.0-py27_0 ...
installing: traitsui-4.4.0-py27_0 ...
installing: ujson-1.33-py27_0 ...
installing: unicodecsv-0.9.4-py27_0 ...
installing: util-linux-2.21-0 ...
installing: werkzeug-0.9.6-py27_1 ...
installing: xlrd-0.9.3-py27_0 ...
installing: xlsxwriter-0.5.7-py27_0 ...
installing: xlwt-0.7.5-py27_0 ...
installing: yaml-0.1.4-0 ...
installing: zeromq-4.0.4-0 ...
installing: zlib-1.2.7-0 ...
installing: anaconda-2.1.0-np19py27_0 ...
installing: _cache-0.0-x0 ...
after Anaconda installation is finished, add bin directory to your PATH and then install additional packages needed for Fermi:
- 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
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)
- Make sure to unset the env variables set up abovecd
pip (also installs setuptools)
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
nose 1.3.7
unit test framework necessary for running numpy and scipy unit tests
- pip install nose
numpy 1.8.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.8.1.tar.gz
- Extract numpy-1.8.1.tar.gz
- Change directory to numpy-1.8.1
- python setup.py build --fcompiler=gnu95 (for gfortran.)
It seems the rhel4s have blas and lapack linked against g77, while rhel5 & rhel6 use 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.8.1)
PyFITS - 3.3
pip install pyfits
matplotlib 1.4.3
pip install matplotlib
which also installed tornado, python-dateutil, pyparsing, six, and backport.ssl-match-hostname
pywcs-1.12
pip install pywcsS
astropy-1.0.4
pip install astropy
APLpy-0.9.11 (requires astropy)
pip install APLpy
4Suite XML - 1.0.2
The 4Suite-XML web site no longer works via easy_install. Installing by hand
python setup.py install
SciPy - 0.14.0
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
Download scipy-0.14.1.tar.gz from http://www.scipy.org/
Extract scipy-0.14.0.tar.gz
Change directory to scipy-0.14.0
Execute python setup.py config_fc --fcompiler=gnu95 install
Leave and erase scipy-0.14.0
Test by starting up python and doing:
import scipy
scipy.test() (NOTE this segfaulted on rhel5-32.. hoping that's not a big deal)
pywcsgrid2-0.1b2
Download from https://github.com/leejjoon/pywcsgrid2/downloads
Extract
cd
python setup.py install
PyYAML 3.11
curl -O http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz
python setup.py install
healpy 1.8.6
see: https://pypi.python.org/pypi/healpy
pip install healpy
virtualenv-13.1.2
https://virtualenv.pypa.io/en/latest/virtualenv.html#installation
pip install virtualenv
How to use: http://docs.python-guide.org/en/latest/dev/virtualenvs/
Pmw 1.3.3
Home page: http://pmw.sourceforge.net/
Note Pmw 2.0.0 is for Python 3.0 while the 1.3 series is meant for Python 2.x. The Pmw-2.0.0 tarball includes both versions and during the installation chooses the correct one to install based on the version of python.
- Download the source code from: http://sourceforge.net/projects/pmw/files/
- Unpack the tarball
- python setup.py install
- Test by running: python All.py in the site-packages/Pmw/Pmw_1_3_3/tests directory
iPython - 4.0.0
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.
pip install ipython
Run the iptest located in python's bin directory.
to support HTML notebooks:
pyzmq
zeromq 4.1.3
download from http://zeromq.org/area:download
curl -O http://download.zeromq.org/zeromq-4.1.3.tar.gz
zeromq depends on libsodium https://download.libsodium.org/doc/installation/index.html
curl -O https://download.libsodium.org/libsodium/releases/libsodium-1.0.3.tar.gz
uncompress libsodium.tar.gz
./configure --prefix=location
make && make check
make install
I chose to store the libsodium installation as part of my zeromq install in $GLAST_EXT/zeromq/4.1.3
To build zeromq
./configure --prefix=$GLAST_EXT/zeromq/4.1.3 PKG_CONFIG_PATH=$GLAST_EXT/zeromq/4.1.3/lib/pkgconfig CPPFLAGS=-I$GLAST_EXT/zeromq/4.1.3/include LDFLAGS=-L$GLAST_EXT/zeromq/4.1.3/lib
make
make install
Then install pyzmq 14.7.0:
pip install pyzmq --install-option="--zmq=$GLAST_EXT/zeromq/4.0.4"
Jinga2: http://jinja.pocoo.org/docs/intro/#installation
pip install Jinja2
2.7.6-gl1
redhat6-x86_64bit-gcc44
- Obtain python source from python.org
- Ungzip/Untar source
- Change directory to Python-2.7.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')- 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)
pip (also installs setuptools)
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
nose 1.3.2
unit test framework necessary for running numpy and scipy unit tests
- pip install nose
numpy 1.8.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.8.1.tar.gz
- Extract numpy-1.8.1.tar.gz
- Change directory to numpy-1.8.1
- python setup.py build --fcompiler=gnu95 (for gfortran.)
It seems the rhel4s have blas and lapack linked against g77, while rhel5 & rhel6 use 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.8.1)
PyFITS - 3.2.2
pip install pyfits
matplotlib 1.3.1
pip install matplotlib
which also installed tornado, python-dateutil, pyparsing, six, and backport.ssl-match-hostname
pywcs-1.12
pip install pywcs
astropy-0.3.1
pip install astropy
APLpy-0.9.11 (requires astropy)
pip install APLpy
4Suite XML - 1.0.2
The 4Suite-XML web site no longer works via easy_install. Installing by hand
python setup.py install
SciPy - 0.14.0
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
Download scipy-0.14.1.tar.gz from http://www.scipy.org/
Extract scipy-0.14.0.tar.gz
Change directory to scipy-0.14.0
Execute python setup.py config_fc --fcompiler=gnu95 install
Leave and erase scipy-0.14.0
Test by starting up python and doing:
import scipy
scipy.test() (NOTE this segfaulted on rhel5-32.. hoping that's not a big deal)
pywcsgrid2-0.1b2
Download from https://github.com/leejjoon/pywcsgrid2/downloads
Extract
cd
python setup.py install
PyYAML 3.11
curl -O http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz
python setup.py install
healpy 1.7.4
see: https://pypi.python.org/pypi/healpy
pip install healpy
virtualenv-1.11.5
https://virtualenv.pypa.io/en/latest/virtualenv.html#installation
pip install virtualenv
How to use: http://docs.python-guide.org/en/latest/dev/virtualenvs/
Pmw 1.3.3
Home page: http://pmw.sourceforge.net/
Note Pmw 2.0.0 is for Python 3.0 while the 1.3 series is meant for Python 2.x. The Pmw-2.0.0 tarball includes both versions and during the installation chooses the correct one to install based on the version of python.
- Download the source code from: http://sourceforge.net/projects/pmw/files/
- Unpack the tarball
- python install setup.py
- Test by running: python All.py in the site-packages/Pmw/Pmw_1_3_3/tests directory
iPython - 2.0.0
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.
pip install ipython
Run the iptest located in python's bin directory.
to support HTML notebooks:
pyzmq
zeromq
download from http://zeromq.org/area:download
./configure --prefix=location
make
make install
pip install pyzmq --install-option="--zmq=$GLAST_EXT/zeromq/4.0.4"
Jinga2: http://jinja.pocoo.org/docs/intro/#installation
pip install Jinja2
2.7.6
redhat5-i686-32bit-gcc41 & redhat5-x86_64-64bit-gcc41 & redhat6-x86_64bit-gcc44
- Obtain python source from python.org
- Ungzip/Untar source
- Change directory to Python-2.7.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')- 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)
pip (also installs setuptools)
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
nose 1.3.2
unit test framework necessary for running numpy and scipy unit tests
- pip install nose
numpy 1.8.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.8.1.tar.gz
- Extract numpy-1.8.1.tar.gz
- Change directory to numpy-1.8.1
- python setup.py build --fcompiler=gnu95 (for gfortran.)
It seems the rhel4s have blas and lapack linked against g77, while rhel5 & rhel6 use 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.8.1)
PyFITS - 3.2.2
pip install pyfits
matplotlib 1.3.1
pip install matplotlib
which also installed tornado, python-dateutil, pyparsing, six, and backport.ssl-match-hostname
pywcs-1.12
pip install pywcs
astropy-0.3.1
pip install astropy
APLpy-0.9.11 (requires astropy)
pip install APLpy
4Suite XML - 1.0.2
The 4Suite-XML web site no longer works via easy_install. Installing by hand
python setup.py install
SciPy - 0.14.0
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
Download scipy-0.14.1.tar.gz from http://www.scipy.org/
Extract scipy-0.14.0.tar.gz
Change directory to scipy-0.14.0
Execute python setup.py config_fc --fcompiler=gnu95 install
Leave and erase scipy-0.14.0
Test by starting up python and doing:
import scipy
scipy.test() (NOTE this segfaulted on rhel5-32.. hoping that's not a big deal)
pywcsgrid2-0.1b2
Download from https://github.com/leejjoon/pywcsgrid2/downloads
Extract
cd
python setup.py install
PyYAML 3.11
curl -O http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz
python setup.py install
healpy 1.7.4
see: https://pypi.python.org/pypi/healpy
pip install healpy
virtualenv-1.11.5
https://virtualenv.pypa.io/en/latest/virtualenv.html#installation
pip install virtualenv
How to use: http://docs.python-guide.org/en/latest/dev/virtualenvs/
iPython - 2.0.0
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.
pip install ipython
Run the iptest located in python's bin directory.
to support HTML notebooks:
pyzmq
zeromq
download from http://zeromq.org/area:download
./configure --prefix=location
make
make install
pip install pyzmq --install-option="--zmq=$GLAST_EXT/zeromq/4.0.4"
Jinga2: http://jinja.pocoo.org/docs/intro/#installation
pip install Jinja2
2.7.2-gl4
NOTE Aug 20, 2015: This version of python on RHEL6-64 was updated to include astropy 1.0.4 which caused numpy to be updated as well.
This was done by executing "pip install astropy"
The RM tarball under u35 was updated as well.
See email thread in opsproblist from Aug 20, 2015
started really building the shared python library but also need the static lib for GR and ST too. Need to hide the shared library during installation to avoid using it during the install process for things like numpy.
redhat6-x86_64-64bit-gcc44
These instructions should be performed as the glastrm user or with appropriate privileges to write in the GLAST_EXT area.
Note that the scipy unit test will report failures due to missing symbols in the rhel4 blas installed at SLAC. This is likely always been the case, and apparently cannot be fixed unless we're will to install BLAS and Lapack ourselves.
- Download Python 2.7.2 from http://www.python.org/ 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/redhat6-x86_64-64bit-gcc44/python
- Ungzip and Untar the file Python-2.7.2.tgz
- 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')
6. 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/redhat6-x86_64-64bit-gcc44/python/2.7.2 --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. - Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.2)
- 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])".
distribute 0.6.21 for use with pip
- curl -O http://python-distribute.org/distribute_setup.py
- python distribute_setup.py
pip
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
nose 1.2.1
unit test framework necessary for running numpy and scipy unit tests
- pip install nose
NumPy - 1.6.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. On RHEL6-64:
glastrm@noric22 $ ldd /usr/lib64/liblapack.so
linux-vdso.so.1 => (0x00007fff49dff000)
libblas.so.3 => /usr/lib64/libblas.so.3 (0x00007fac2ac9d000)
libm.so.6 => /lib64/libm.so.6 (0x00007fac2aa18000)
libgfortran.so.3 => /usr/lib64/libgfortran.so.3 (0x00007fac2a726000)
libc.so.6 => /lib64/libc.so.6 (0x00007fac2a394000)
/lib64/ld-linux-x86-64.so.2 (0x00007fac2b72d000)
where libgfortran means we should use the gnu95 flag
- Download numpy-1.6.1.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858
- Extract numpy-1.6.1.tar.gz
- Change directory to numpy-1.6.1
- unset LDFLAGS, CFLAGS if set above
- python setup.py build --fcompiler=gnu95 (for 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.6.1)
PyFITS - 3.1
pip install pyfits
matplotlib 1.1.1
pip install matplotlib
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz
pywcs-1.11-4.8.2
pip install pywcs
APLpy-0.9.8
pip install APLpy
4Suite XML - 1.0.2
The 4Suite-XML web site no longer works via easy_install. Installing by hand
python setup.py install
SciPy - 0.10.1
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
Download scipy-0.10.1.tar.gz from http://www.scipy.org/ and save to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-i686-64bit-gcc44/python if it doesn't already exist.
Extract scipy-0.10.1.tar.gz
Change directory to scipy-0.10.1
Execute python setup.py config_fc --fcompiler=gnu95 install
Leave and erase scipy-0.10.1
Test by starting up python and doing:
import scipy
scipy.test()
pywcsgrid2
Download from https://github.com/leejjoon/pywcsgrid2/downloads
Extract
cd
python setup.py install
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.gz
python setup.py install
iPython - 0.13
pip install ipython
Run the iptest located in python's bin directory.
2.7.2-gl3
started really building the shared python library
redhat6-x86_64-64bit-gcc44
These instructions should be performed as the glastrm user or with appropriate privileges to write in the GLAST_EXT area.
Note that the scipy unit test will report failures due to missing symbols in the rhel4 blas installed at SLAC. This is likely always been the case, and apparently cannot be fixed unless we're will to install BLAS and Lapack ourselves.
- Download Python 2.7.2 from http://www.python.org/ 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/redhat6-x86_64-64bit-gcc44/python
- Ungzip and Untar the file Python-2.7.2.tgz
- 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')
6. 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/redhat6-x86_64-64bit-gcc44/python/2.7.2 --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. - Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.2)
- 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])".
distribute 0.6.16 for use with pip
- curl -O http://python-distribute.org/distribute_setup.py
- python distribute_setup.py
pip
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
nose 1.2.1
unit test framework necessary for running numpy and scipy unit tests
- pip install nose
NumPy - 1.6.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. On RHEL6-64:
glastrm@noric22 $ ldd /usr/lib64/liblapack.so
linux-vdso.so.1 => (0x00007fff49dff000)
libblas.so.3 => /usr/lib64/libblas.so.3 (0x00007fac2ac9d000)
libm.so.6 => /lib64/libm.so.6 (0x00007fac2aa18000)
libgfortran.so.3 => /usr/lib64/libgfortran.so.3 (0x00007fac2a726000)
libc.so.6 => /lib64/libc.so.6 (0x00007fac2a394000)
/lib64/ld-linux-x86-64.so.2 (0x00007fac2b72d000)
where libgfortran means we should use the gnu95 flag
- Download numpy-1.6.1.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858
- Extract numpy-1.6.1.tar.gz
- Change directory to numpy-1.6.1
- unset LDFLAGS, CFLAGS if set above
- python setup.py build --fcompiler=gnu95 (for 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.6.1)
PyFITS - 3.1
pip install pyfits
matplotlib 1.1.1
pip install matplotlib
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz
pywcs-1.11-4.8.2
pip install pywcs
APLpy-0.9.8
pip install APLpy
4Suite XML - 1.0.2
The 4Suite-XML web site no longer works via easy_install. Installing by hand
python setup.py install
SciPy - 0.10.1
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
Download scipy-0.10.1.tar.gz from http://www.scipy.org/ and save to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-i686-64bit-gcc44/python if it doesn't already exist.
Extract scipy-0.10.1.tar.gz
Change directory to scipy-0.10.1
Execute python setup.py config_fc --fcompiler=gnu95 install
Leave and erase scipy-0.10.1
Test by starting up python and doing:
import scipy
scipy.test()
pywcsgrid2
Download from https://github.com/leejjoon/pywcsgrid2/downloads
Extract
cd
python setup.py install
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.gz
python setup.py install
iPython - 0.13
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
These instructions should be performed as the glastrm user or with appropriate privileges to write in the GLAST_EXT area.
Note that the scipy unit test will report failures due to missing symbols in the rhel4 blas installed at SLAC. This is likely always been the case, and apparently cannot be fixed unless we're will to install BLAS and Lapack ourselves.
- Download Python 2.7.2 from http://www.python.org/ 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/redhat6-x86_64-64bit-gcc44/python
- Ungzip and Untar the file Python-2.7.2.tgz
- 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')
6. setenv LDFLAGS -fPIC; setenv CPPFLAGS -fPIC; setenv CFLAGS -fPIC
- Execute ./configure --prefix /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44/python/2.7.2/gcc34 --enable-shared
- Execute make
- Execute make install
- Leave and erase the current directory (Python-2.7.2)
- 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])".
distribute 0.6.16 for use with pip
- curl -O http://python-distribute.org/distribute_setup.py
- python distribute_setup.py
pip
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
NumPy - 1.6.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. On RHEL6-64:
glastrm@noric22 $ ldd /usr/lib64/liblapack.so
linux-vdso.so.1 => (0x00007fff49dff000)
libblas.so.3 => /usr/lib64/libblas.so.3 (0x00007fac2ac9d000)
libm.so.6 => /lib64/libm.so.6 (0x00007fac2aa18000)
libgfortran.so.3 => /usr/lib64/libgfortran.so.3 (0x00007fac2a726000)
libc.so.6 => /lib64/libc.so.6 (0x00007fac2a394000)
/lib64/ld-linux-x86-64.so.2 (0x00007fac2b72d000)
where libgfortran means we should use the gnu95 flag
- Download numpy-1.6.1.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103&release_id=628858
- Extract numpy-1.6.1.tar.gz
- Change directory to numpy-1.6.1
- unset LDFLAGS, CFLAGS if set above
- python setup.py build --fcompiler=gnu95 (for 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.6.1)
PyFITS - 3.1
pip install pyfits
matplotlib 1.1.0
pip install matplotlib
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz
pywcs-1.11-4.8.2
pip install pywcs
APLpy-0.9.8
pip install APLpy
4Suite XML - 1.0.2
The 4Suite-XML web site no longer works via easy_install. Installing by hand
python setup.py install
SciPy - 0.10.1
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
Download scipy-0.10.1.tar.gz from http://www.scipy.org/ and save to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat6-i686-64bit-gcc44/python if it doesn't already exist.
Extract scipy-0.10.1.tar.gz
Change directory to scipy-0.10.1
Execute python setup.py config_fc --fcompiler=gnu95 install
Leave and erase scipy-0.10.1
Test by starting up python and doing:
import scipy
scipy.test()
pywcsgrid2
Download from https://github.com/leejjoon/pywcsgrid2/downloads
Extract
cd
python setup.py install
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.
sympy 0.7.2
http://sympy.org/en/index.html
curl -O http://sympy.googlecode.com/files/sympy-0.7.2.tar.gz
python setup.py install
iPython - 0.13
pip install ipython
Run the iptest located in python's bin directory.
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 privileges to write in the GLAST_EXT area.
Note that the scipy unit test will report failures due to missing symbols in the rhel4 blas installed at SLAC. This is likely always been the case, and apparently cannot be fixed unless we're will to install BLAS and Lapack ourselves.
- 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)
redhat4-x86-64bit-gcc34
Unable to install numpy 1.5.1 successfully on rhel4-64, due to a known bug with 64 bit and gcc3. The numpy unit test fails. Fix is to move to gcc4, which we cannot do. For now remaining on python 2.6.5. In either case, the scipy unit tests results some errors which we seemingly have always been dealing with. The bug report suggests doing a new install of BLAS, but according to unix-admins that is not possible.
redhat5-i686-32bit-gcc41
Same directions as redhat4-i686-32bit-gcc34. The fortran compiler to use for numpy and scipy install is gfortran so --fcompiler=gnu95. There should be no errors in the numpy or scipy unit tests.
redhat5-x86_64-64bit-gcc41
Same directions as redhat4-i686-32bit-gcc34. The fortran compiler to use for numpy and scipy install is gfortran so --fcompiler=gnu95. There should be no errors in the numpy or scipy unit tests.
snowleopard-gcc42
pip and easy_install have no connectivity to download on bldmac02, so performing all module installations by hand.
Skipping matplotlib (some missing system libraries would have to be installed), pywcsgrid2 (needs matplotlib), APLpy (needs matplotlib), and SciPy (due to missing fortran compiler)
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.4.0
- pip install pyfits
matplotlib 1.0.0
Had to provide explicit web link to version we wanted to install, otherwise the default seems to be 0.91
- pip install http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz
pywcs-1.10-4.7
- pip install pywcs
APLpy-0.9.5
- pip install APLpy
4Suite XML - 1.0.2
This module was not recognized by pip. Using easy_install instead.
- easy_install 4Suite-XML
SciPy - 0.9.0
Continuing to install by hand to provide compiler flag to force correct fortran compiler, depending on what blas and lapack are linked against (try ldd /usr/lib/libblas.so). See SciPy's INSTALL.txt file for more information.
- 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.
- Change directory to /afs/slac.stanford.edu/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python
- Extract scipy-0.9.0.tar.gz
- Change directory to scipy-0.9.0
- Execute python setup.py config_fc --fcompiler=gnu install (gnu for g77 or gnu95 for gfortran)
- Leave and erase scipy-0.9.0
- Test by starting up python and doing:
import scipy
scipy.test()
iPython - 0.10.2
- pip install ipython
- Run the iptest located in python's bin directory.
pywcsgrid2
- Download from https://github.com/leejjoon/pywcsgrid2/downloads
- Extract
- cd
- python setup.py install
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