Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] Current memory binding policy
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-01-05 11:15:37

Jeff Squyres, le Wed 05 Jan 2011 15:12:45 +0100, a écrit :
> Quick clarification question: hwloc_alloc_membind() says --
> Returns -1 with errno set to ENOSYS if the action is not
> supported and HWLOC_MEMBIND_STRICT is given.
> But it also returns -1/ENOSYS if the current memory policy is STRICT, even if STRICT was not passed in flags.
> Right?

Alloc_membind does not follow the current policy, so STRICT has to be
passed in flags to get ENOSYS.