I noticed that and I would have preferred it to be adjustable.
Using all the available cores on the machine assumes that you
are using a dedicated build machine and that there is only one
job on it going on or that it will be very short.
Francois
On 12/16/15 12:24, Kevin Huck wrote:
> Ross -
>
> The builds are parallel by default:
>
>
http://llnl.github.io/spack/packaging_guide.html?highlight=parallel#parallel-builds
>
> "By default, Spack will invoke make() with a -j <njobs> argument, so
> that builds run in parallel. It figures out how many jobs to run by
> determining how many cores are on the host machine. Specifically, it
> uses the number of CPUs reported by
> Python’s multiprocessing.cpu_count(). If a package does not build
> properly in parallel, you can override this setting by
> adding parallel = False to your package.”
>
> Thanks -
> Kevin
>
>> On Dec 15, 2015, at 3:14 PM, Roscoe Bartlett
>> <
bartlet...@gmail.com <mailto:
bartlet...@gmail.com>> wrote:
>>
>> Hello Spack users and devs,
>>
>> I can't find any documentation about how to get spack to get
>> individual builds of packages to use more than one process. Most
>> build systems allow you specify -j<N> (e.g. where <N> = 8) to build in
>> parallel. That makes a *huge* difference in how long it takes to
>> build software.
>>
>> -Ross
>>
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Spack" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
spack+un...@googlegroups.com
>> <mailto:
spack+un...@googlegroups.com>.
>> <mailto:
sp...@googlegroups.com>.
>
kh...@cs.uoregon.edu <mailto:
kh...@cs.uoregon.edu>
>
http://tau.uoregon.edu <
http://tau.uoregon.edu/>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Spack" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
spack+un...@googlegroups.com
> <mailto:
spack+un...@googlegroups.com>.
> <mailto:
sp...@googlegroups.com>.