Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] Return value hwloc functions
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-08-03 05:31:15

Gabriele Fatigati, le Wed 03 Aug 2011 11:05:19 +0200, a écrit :
> -1 with errno set to ENOSYS if the action is not supported
> -1 with errno set to EXDEV if the binding cannot be enforced
> What's the difference?

The same as other OS functions: ENOSYS means it's never supported. EXDEV
means it's not supported in the requested conditions.