Re: [hwloc-users] setting memory bindings

2014-09-15 Thread Brice Goglin
t_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

Re: [hwloc-users] setting memory bindings

2014-09-15 Thread Aulwes, Rob
ex? 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/ repos

Re: [hwloc-users] setting memory bindings

2014-09-04 Thread Brice Goglin
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 th

Re: [hwloc-users] setting memory bindings

2014-09-02 Thread Aulwes, Rob
rg>> Subject: Re: [hwloc-users] setting memory bindings Hello, I am coming back on this thread to fix things before releasing v1.10. Regarding your question below, there's already an answer with hwloc_topology_get_support() which returns things like support->membind->rep

Re: [hwloc-users] setting memory bindings

2014-09-02 Thread Brice Goglin
..@inria.fr>> > Reply-To: Hardware locality user list <mailto:hwloc-us...@open-mpi.org>> > Date: Tue, 19 Aug 2014 18:55:57 +0200 > To: Hardware locality user list <mailto:hwloc-us...@open-mpi.org>> > Subject: Re: [hwloc-users] setting memory bindings &

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Aulwes, Rob
ty user list mailto:hwloc-us...@open-mpi.org>> Subject: Re: [hwloc-users] setting memory bindings REPLICATE isn't support either on Linux unfortunately. I'll look at clarifying the doc and/or returning an error and/or adding a way to find out. Brice Le 19/08/2014 19:00,

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Brice Goglin
any doc? > > Thanks for the help! Rob > > From: Brice Goglin mailto:brice.gog...@inria.fr>> > Reply-To: Hardware locality user list <mailto:hwloc-us...@open-mpi.org>> > Date: Tue, 19 Aug 2014 19:03:56 +0200 > To: Hardware locality user list <mailto:hw

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Aulwes, Rob
ate: Tue, 19 Aug 2014 19:03:56 +0200 To: Hardware locality user list mailto:hwloc-us...@open-mpi.org>> Subject: Re: [hwloc-users] setting memory bindings REPLICATE isn't support either on Linux unfortunately. I'll look at clarifying the doc and/or returning an error and/or adding

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Brice Goglin
>> mem_nodeset, HWLOC_MEMBIND_NEXTTOUCH, 0); >> >> where >> >> mem_nodeset = hwloc_topology_get_complete_nodeset(_topo); >> >> Thanks,Rob >> >> From: Brice Goglin mailto:brice.gog...@inria.fr>> >> Reply-To: Hardware l

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Aulwes, Rob
Date: Tue, 19 Aug 2014 18:55:57 +0200 To: Hardware locality user list mailto:hwloc-us...@open-mpi.org>> Subject: Re: [hwloc-users] setting memory bindings NEXTTOUCH isn't supported on Linux. I hope you'd get an error if you request it. Brice Le 19/08/2014 18:48, Aulwe

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Brice Goglin
mailto:brice.gog...@inria.fr>> > Reply-To: Hardware locality user list <mailto:hwloc-us...@open-mpi.org>> > Date: Tue, 19 Aug 2014 18:44:05 +0200 > To: Hardware locality user list <mailto:hwloc-us...@open-mpi.org>> > Subject: Re: [hwloc-users] setting memory bi

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Aulwes, Rob
gt; Subject: Re: [hwloc-users] setting memory bindings Le 19/08/2014 18:38, Aulwes, Rob a écrit : Hi, I'm trying to write a custom C++ allocator that wraps hwloc calls. I've tried using various hwloc_alloc* functions to set the memory bindings, but when I call hwloc_get_area_membind_n

Re: [hwloc-users] setting memory bindings

2014-08-19 Thread Brice Goglin
Le 19/08/2014 18:38, Aulwes, Rob a écrit : > Hi, > > I'm trying to write a custom C++ allocator that wraps hwloc calls. > I've tried using various hwloc_alloc* functions to set the memory > bindings, but when I call hwloc_get_area_membind_nodeset to verify, I > don't get the same policy I passed t

[hwloc-users] setting memory bindings

2014-08-19 Thread Aulwes, Rob
Hi, I'm trying to write a custom C++ allocator that wraps hwloc calls. I've tried using various hwloc_alloc* functions to set the memory bindings, but when I call hwloc_get_area_membind_nodeset to verify, I don't get the same policy I passed to alloc. Are there example codes that show how to