Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Peter Kjellstrom (cap_at_[hidden])
Date: 2006-12-01 05:51:24


On Saturday 25 November 2006 15:31, shaposh_at_[hidden] 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...)



  • application/pgp-signature attachment: stored