On Saturday 25 November 2006 15:31, shap...@isp.nsc.ru wrote:
> Hello,
> i cant figure out, is there a way with open-mpi to bind all
> threads on a given node to a specified subset of CPUs.
> For example, on a multi-socket multi-core machine, i want to use
> only a single core on each CPU.
> Thank You.

This might be a bit naive but, if you spawn two procs on a dual core dual 
socket system then the linux kernel should automagically schedule them this 
way.

I actually think this applies to most of the situations discussed in this 
thread. Explicitly assigning processes to cores may actually get it wrong 
more often than the normal linux scheduler.

/Peter (who may be putting a bit too much faith in the linux scheduler...)

Attachment: pgpWxAOGLHiZf.pgp
Description: PGP signature

Reply via email to