Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2005-12-09 15:31:41

Just recently finished checking. For the collection of Linux hosts I
have access to, the probe results are the same regardless of the choice
of set or get. I agree 100% that "get" is a safer probe.


Jeff Squyres wrote:
> 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
> {+}
> _______________________________________________
> devel mailing list
> devel_at_[hidden]

Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900