This function is only available in master, not in v1.9. Its
implementation can be copied from
https://github.com/open-mpi/hwloc/blob/master/include/hwloc/helper.h#L565

Brice



Le 15/09/2014 18:40, Aulwes, Rob a écrit :
> Brice,
>
> I just tried one of your examples, but I got the error:
>
> error: identifier "hwloc_get_numanode_obj_by_os_index" is undefined
>   obj = hwloc_get_numanode_obj_by_os_index(topology, i);
>
> I'm using version 1.9.1.  Did you recently add
> hwloc_get_numanode_obj_by_os_index?
>
> Thanks,Rob
>
> ------------------------------------------------------------------------
> *From:* hwloc-users [hwloc-users-boun...@open-mpi.org] on behalf of
> Brice Goglin [brice.gog...@inria.fr]
> *Sent:* Thursday, September 04, 2014 6:25 AM
> *To:* hwloc-us...@open-mpi.org
> *Subject:* Re: [hwloc-users] setting memory bindings
>
> I added a new doc/examples/ repository to better show how to use
> bitmaps, cpu and memory binding etc.
>     https://github.com/open-mpi/hwloc/tree/master/doc/examples
> If you see anything missing, don't hesitate to ask.
>
> Brice
>
>
>
>
> Le 19/08/2014 19:10, Aulwes, Rob a écrit :
>> ok, in the meantime, is there a way to manually 'replicate'?  That
>> is, if I allocate a node, I would like to find out which NUMA domain
>> it resides in, and then allocate replicates to other domains.  Are
>> there example codes that show how to use the bitmaps for this?  I've
>> been unsuccessful in finding example codes that illustrate the
>> bitmaps.  Did I miss it in any doc?
>>
>
>
>
> _______________________________________________
> hwloc-users mailing list
> hwloc-us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
> Link to this post: 
> http://www.open-mpi.org/community/lists/hwloc-users/2014/09/1076.php

Reply via email to