Hi David!
On 4 Sep., 01:01, "Dr. David Kirkby" <[email protected]> wrote:
> Be aware, that for hyperthreaded machines, the number of CPUs may exceed the
> number of cores.
Ah. I guess that I wanted the number of cores. If, as you say, half
the CPUs is enough to occupy all resources, then I'd probably use
something like
@parallel(ncpus=os.environ.get('SAGE_NCPUS') or 2)
so that at most 2 (or another small number) parallel processes are
created, unless the user requires otherwise, by setting an environment
variable.
Cheers,
Simon
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org