Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2005-12-09 15:09:21

On Dec 9, 2005, at 3:06 PM, Bogdan Costescu wrote:

>>> rc = sched_setaffinity(0, sizeof(mask), mask);
> This changes whatever affinity might have been set before this check,
> for example by a (smart, don't know if such exists now) batch system.
> I haven't checked if it's possible, but I think that a similar
> solution based on sched_getaffinity would be much better, as this
> would not disturb the current settings.

Paul and I were discussing this earlier (off list). He was
investigating doing the same check with sched_getaffinity() -- I
don't know if he has finished checking into that already.

{+} Jeff Squyres
{+} The Open MPI Project