It's working and I'm seeing the binding pattern I hoped for.
Thanks again
JB
From: hwloc-users [hwloc-users-boun...@lists.open-mpi.org] on behalf of Brice
Goglin [brice.gog...@inria.fr]
Sent: 13 November 2017 15:32
To: Hardware locality user list
Subject
The doc is wrong, flags are used, only for BY_NODESET. I actually fixed
that in git very recently.
Brice
Le 13/11/2017 07:24, Biddiscombe, John A. a écrit :
> In the documentation for get_area_memlocation it says
> "If HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
> Otherw
In the documentation for get_area_memlocation it says
"If HWLOC_MEMBIND_BYNODESET is specified, set is considered a nodeset.
Otherwise it's a cpuset."
but it also says "Flags are currently unused."
so where should the BY_NODESET policy be used? Does it have to be used with the
original alloc ca
Brice
aha. thanks. I knew I'd seen a function for that, but couldn't remember what it
was.
Cheers
JB
From: hwloc-users [hwloc-users-boun...@lists.open-mpi.org] on behalf of Brice
Goglin [brice.gog...@inria.fr]
Sent: 13 November 2017 14:57
To: Hardware l
Use get_area_memlocation()
membind() returns where the pages are *allowed* to go (anywhere)
memlocation() returns where the pages are actually allocated.
Brice
Le 13/11/2017 06:52, Biddiscombe, John A. a écrit :
> Thank you to you both.
>
> I modified the allocator to allocate one large block
Thank you to you both.
I modified the allocator to allocate one large block using hwloc_alloc and then
use one thread per numa domain to touch each page according to the tiling
pattern - unfortunately, I hadn't appreciated that now
hwloc_get_area_membind_nodeset
always returns the full machine