I'm following the standard instructions to install the stack on an Ubuntu 16.04 machine with 8GB of RAM, but the installation fails on afw-13.0.
[ 56/93 ] afw 13.0 ...
***** error: from /home/mdon849/LSST/EupsBuildDir/Linux64/afw-13.0/build.log:
In file included from /home/mdon849/LSST/Linux64/eigen/3.2.5.lsst2/include/Eigen/Core:276:0,
/home/mdon849/LSST/Linux64/eigen/3.2.5.lsst2/include/Eigen/src/Core/Functors.h:977:28: warning: 'template<class _Operation> class std::binder1st' is deprecated [-Wdeprecated-declarations]
struct functor_traits<std::binder1st<T> >
In file included from /usr/include/c++/5/bits/stl_function.h:1128:0,
/usr/include/c++/5/backward/binders.h:108:11: note: declared here
virtual memory exhausted: Cannot allocate memory
scons: *** [python/lsst/afw/math/mathLib_wrap.os] Error 1
scons: building terminated because of errors.
+ exit -4
eups distrib: Failed to build afw-13.0.eupspkg: Command:
source /home/mdon849/LSST/eups/bin/setups.sh; export EUPS_PATH=/home/mdon849/LSST; (/home/mdon849/LSST/EupsBuildDir/Linux64/afw-13.0/build.sh) >> /home/mdon849/LSST/EupsBuildDir/Linux64/afw-13.0/build.log 2>&1 4>/home/mdon849/LSST/EupsBuildDir/Linux64/afw-13.0/build.msg
exited with code 252
I've read the discussion on this thread, and tried running without debug symbols using
SCONSFLAGS='debug=0' -- however, this gets overwritten by eups.
Could someone please clarify whether turning off debug symbols will work, and if so, what value
EUPSPKG_SCONSFLAGS should be set to? It was somewhat unclear from this comment.