Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] questions about memory binding flags
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-01-05 11:16:41


Le 05/01/2011 17:13, Samuel Thibault a écrit :
> Jeff Squyres, le Wed 05 Jan 2011 15:06:05 +0100, a écrit :
>
>> On Jan 5, 2011, at 8:58 AM, Jeff Squyres wrote:
>>
>>
>>>> Actually, it's usually only supported for read-only data.
>>>>
>>> I'm not sure what you mean -- if this policy is used to allocate memory, how do I write meaningful data in there that can then be read by multiple memory localities later?
>>>
>> Ahh... the light clicks on: can you only use REPLICATE with the hwlo_set_*membind* functions (i.e., not the hwloc_alloc* functions)?
>>
> Yes.
>

Maybe return EINVAL when passing REPLICATE to alloc_membind?

Brice