Hi David!

On 4 Sep., 01:01, "Dr. David Kirkby" <david.kir...@onetel.net> 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 sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to