[Omp] Noob question about processors

Georg Hager georg.hager at rrze.uni-erlangen.de
Thu Apr 27 02:51:24 PDT 2006


Hi,

> > will those threads be evenly spread over the 2 processors
> > (so 1 thread over each of the 4 virtual processors) or
> > do I have to do some special kernel stuff that this would
> > happen?

A quite reliable way of pinning threads to processors in Linux is to
use a library that hides the variations in API calls. I use PLPA and
it works well:

http://www.open-mpi.org/software/plpa/

Bye,
Georg.


More information about the Omp mailing list