Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

From: David Creasy (dcreasy_at_[hidden])
Date: 2006-02-03 13:32:49


Hi,
Thanks for an amazingly useful library.
The documentation says that the return value from plpa_sched_getaffinity
is zero for success. Looks as though this is incorrect, and the return
value is as in the sched_getaffinity man page:

"the size (in bytes) of the affinity mask used by the kernel. On error,
-1 is returned, and errno is set appropriately"

Can I just assume any value > 0 is OK?

Thanks,
David