[lsst-dm-stack-users] adding scipy to DMstack installation
Heather Kelly
heather625 at gmail.com
Fri Mar 29 09:31:52 PDT 2013
Hi,
We decided to add scipy to our DMstack v6_1 install at SLAC..so after
source loadLSST.sh I did:
eups distrib install --nolocks scipy
Actually I tried to include the -t v6_1 option - but that resulted in:
eups distrib: Product scipy v6_1 not found in any package repository
Anyway.. I noticed that rather than using the python (2.7.3+1) that was
previously installed with the initial installation..we installed python
2.7.2+2 and carried on installing numpy and then scipy. My question
is..now that there are multiple versions of python in the installation..
and I suspect not all modules (like pyfits) from my initial install are
associated with this 2.7.2+2 version.. should I do another round of eups
distrib install lsst_dist? Or is all just fine and dandy?
I played around a bit with
setup -t v6_1 afw
checked the version of python and then did
setup -t v6_1 scipy (which I'm wondering..why does that work..when I
couldn't do the install using the -t v6_1?)
and indeed I'm still pointing at python:
DMstack/Winter2013Beta/Linux64/external/python/2.7.3+1/bin/python
but if I mistakenly do "setup scipy"..I'm then pointing at python 2.7.2+2
Is there a way I could have gotten the scipy installed against the original
python installation 2.7.3+1 ?
Or better.. perhaps if the environment included our own python 2.7.X with
all the various modules installed..a DMstack installation on Linux just use
that (as it does on the Mac?) I realize we're moving to that model
anyhow..and maybe it's time to just start dealing with that now.
Below is the full output from "eups distrib install --nolocks scipy"
Take care,
Heather
bash-4.1$ eups distrib install --nolocks scipy
Required product tcltk 8.5.9+1 is already installed; use --force to
reinstall
Installing python 2.7.2+2 for generic...
Setting up environment (via ./eupssetups.sh)...
/usr/bin/curl -L
http://sw.lsstcorp.org/pkgs/external/python/2.7.2/Python-2.7.2.tgz >
Python-2.7.2.tgz
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 13.4M 100 13.4M 0 0 465k 0 0:00:29 0:00:29 --:--:--
3835
Python-2.7.2.tgz
tar zvxf Python-2.7.2.tgz
tar: write error
/usr/bin/curl -L
http://sw.lsstcorp.org/pkgs/external/python/2.7.2/lsstMkSetup.sh >
lsstMkSetup.sh
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
102 3795 102 3795 0 0 20997 0 --:--:-- --:--:-- --:--:--
35801
lsstMkSetup.sh
./configure
--prefix=/afs/slac/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/python/2.7.2+2
--enable-shared
/usr/bin/make
/usr/bin/make install
/usr/bin/curl -L
http://sw.lsstcorp.org/pkgs/external/python/2.7.2/python.cfg > python.cfg
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
104 2498 104 2498 0 0 13352 0 --:--:-- --:--:-- --:--:--
23566
python.cfg
installing ez_setup.py...
/usr/bin/curl -L
http://sw.lsstcorp.org/pkgs/external/python/2.7.2/ez_setup.py > ez_setup.py
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 10240 100 10240 0 0 95884 0 --:--:-- --:--:-- --:--:--
97523
ez_setup.py
Downloading
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
Processing setuptools-0.6c11-py2.7.egg
Copying setuptools-0.6c11-py2.7.egg to /afs/
slac.stanford.edu/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/python/2.7.2+2/lib/python2.7/site-packages
Adding setuptools 0.6c11 to easy-install.pth file
Installing easy_install script to
/afs/slac/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/python/2.7.2+2/bin
Installing easy_install-2.7 script to
/afs/slac/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/python/2.7.2+2/bin
Installed /afs/
slac.stanford.edu/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/python/2.7.2+2/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11
Emptying the build directory
Package python 2.7.2+2 installed successfully
Assigning Server Tag stable to dependency python 2.7.2+2
Installing numpy 1.6.1+3 for generic...
Setting up environment (via ./eupssetups.sh)...
/usr/bin/curl -L
http://sw.lsstcorp.org/pkgs/external/numpy/1.6.1/numpy-1.6.1.tar.gz >
numpy-1.6.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 2575k 100 2575k 0 0 239k 0 0:00:10 0:00:10 --:--:--
3838
numpy-1.6.1.tar.gz
tar zvxf numpy-1.6.1.tar.gz
tar: write error
python setup.py build --fcompiler=gnu95
python setup.py install
--home=/afs/slac/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/numpy/1.6.1+3
/usr/bin/curl -L
http://sw.lsstcorp.org/pkgs/external/numpy/1.6.1/numpy.cfg> numpy.cfg
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
101 712 101 712 0 0 5215 0 --:--:-- --:--:-- --:--:--
6654
numpy.cfg
Emptying the build directory
Package numpy 1.6.1+3 installed successfully
Assigning Server Tag stable to dependency numpy 1.6.1+3
Installing scipy 0.9.0+4 for generic...
Setting up environment (via ./eupssetups.sh)...
tar zvxf scipy-0.9.0.tar.gz
tar: write error
python setup.py install
--home=/afs/slac/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/scipy/0.9.0+4
Fetching scipy.cfg into
/afs/slac/g/lsst/software/redhat6-x86_64-64bit-gcc44/DMstack/Winter2013Beta/Linux64/external/scipy/0.9.0+4/ups.
/usr/bin/curl -L
http://sw.lsstcorp.org/pkgs/external/scipy/0.9.0/scipy.cfg> scipy.cfg
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
105 315 105 315 0 0 1338 0 --:--:-- --:--:-- --:--:--
2971
scipy.cfg
Emptying the build directory
Package scipy 0.9.0+4 installed successfully
Assigning Server Tag stable to dependency scipy 0.9.0+4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20130329/019c1720/attachment.html>
More information about the dm-users
mailing list