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?