[lsst-dm-stack-users] stack build can be *very* memory hungry -- default to fewer NCORES?
Dustin Lang
dstndstn at gmail.com
Wed Jun 25 08:46:07 PDT 2014
Actually, I'm finding that even after setting NCORES, MAKEFLAGS, and
SCONSFLAGS both in my shell and in $EUPS_DIR/lib/eupspkg.sh, "eups distrib
install" is STILL using four cores.
Please, how can I reduce the number of cores used by the build?
--dstn
On Wed, 25 Jun 2014, Dustin Lang wrote:
>
> Hi,
>
> On my Mac OSX 10.8 laptop with 4 cores and 8 GB of memory, the machine
> becomes nearly unusable during the afw build. I would think this would be
> a fairly standard target machine for our users, so I would suggest that we
> might want to highlight (and fix the errors in) the description of how to
> make the build use fewer cores. Or perhaps just crank down the default to
> not fully max out the number of cores.
>
> The instructions at the bottom of this page appear to be out of date:
> https://confluence.lsstcorp.org/display/LSWUG/Known+Installation+Issues+for+v8.0
>
> since I don't see NCORES defined in my /usr/lsst/eups/lib/eupspkg.sh file,
> nor MAKEFLAGS, and SCONSFLAGS doesn't mention explicitly the number of
> cores to use:
> export SCONSFLAGS=${SCONSFLAGS:-"opt=3"}
>
>
> Thanks,
> --dustin
>
>
More information about the dm-users
mailing list