On RH6-64, with devtoolset-3 enabled, and my own vanilla Anaconda2 4.3.1 installed, I receive the following error after running eups distrib install -t v13_0 lsst_distrib --nolocks
[ 37/93 ] tmv 0.73+5 done.
...
[ 44/93 ] galsim 1.4.1.lsst3 ...
***** error: from /nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0/EupsBuildDir/Linux64/galsim-1.4.1.lsst3/build.log:
TMV version is 0.73
Using TMV_LINK file: /nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0/Linux64/tmv/0.73+5/share/tmv/tmv-link
-L/nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0/Linux64/tmv/0.73+5/lib -ltmv -lpthread -fopenmp
Checking for correct TMV linkage... (this may take a little while)
Checking for correct TMV linkage... yes
Checking if we can build against Python...
Unable to build a python loadable module using the python executable:
/nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/anaconda/4.3.1/bin/python,
the library name libpython2.7.so,
and the libdir /nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/anaconda/4.3.1/lib.
Nor did any of the known variations on this work.
If these are not the correct library name or location, you can tell scons
the correct names to use with the flags EXTRA_LIB_PATH and/or EXTRA_LIBS.
Please fix the above error(s) and rerun scons.
Note: you may want to look through the file INSTALL.md for advice.
Also, if you are having trouble, please check the INSTALL FAQ at
https://github.com/GalSim-developers/GalSim/wiki/Installation%20FAQ
+ exit -4
eups distrib: Failed to build galsim-1.4.1.lsst3.eupspkg: Command:
source /nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0/eups/bin/setups.sh; export EUPS_PATH=/nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0; (/nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0/EupsBuildDir/Linux64/galsim-1.4.1.lsst3/build.sh) >> /nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0/EupsBuildDir/Linux64/galsim-1.4.1.lsst3/build.log 2>&1 4>/nfs/farm/g/lsst/u1/software/redhat6-x86_64-64bit-gcc44/DMstack/v13_0/EupsBuildDir/Linux64/galsim-1.4.1.lsst3/build.msg
exited with code 252
As suggested I read the Install.md file and tested which python modules I had available - I am missing pyfits, future, and the optional starlink.Ast. This page just lists matplotlib and scipy as dependencies:
https://pipelines.lsst.io/install/newinstall.html#source-install-py-deps
I’ve now installed pyfits and future and restarted the build… it failed in the same way. To be fair, perhaps I should start fresh or at least clean out the galsim build products and try again.
If I allow newinstall to install Miniconda, the build is successful, so this is likely related to my use of a user installed Anaconda.
Poking around I see some discussion of TMV and galsim issues:
https://github.com/GalSim-developers/GalSim/wiki/Installation-FAQ#why-is-scons-unable-to-build-a-python-loadable-module-that-uses-tmv-using-anaconda