Hi Brice,
>The flag says "when the first touch occurs and the physical memory is allocated for real, don't allocate on the local node (default), but >rather allocate where specified by set_membind".
If is it already allocated for real, how set_membind() can allocate on other node?
So, what's the difference between HWLOC_MEMBIND_BIND and HWLOC_MEMBIND_FIRSTTOUCH?
Doing the follow test:
omp parallel region
if(tid==0){malloc(array)...set_area_membind(HWLOCMEMBIND_BIND, node 0)}
if (tid==1){set_area_membind(HWLOCMEMBIND_BIND, node 1)