Hello,
first of all, thank you so much for this tool.
Actually, I have tried to bind memory but with no success.
I have got this message:
Couldn't bind to cpuset 0x00000001: Function not implemented
Couldn't bind to cpuset 0x00000020: Function not implemented
Couldn't bind to cpuset 0x00000004: Function not implemented
Couldn't bind to cpuset 0x00000008: Function not implemented
Couldn't bind to cpuset 0x00000010: Function not implemented
Couldn't bind to cpuset 0x00000002: Function not implemented
My program code:
int flags;
hwloc_membind_policy_t policy;
policy = HWLOC_MEMBIND_BIND;
flags = HWLOC_MEMBIND_PROCESS;
hwloc_cpuset_t cpuset;
cpuset = hwloc_bitmap_alloc();
if (!cpuset)
{
fprintf(stderr, "failed to allocate a bitmap\n");
hwloc_topology_destroy(HWtopology);
}
hwloc_get_cpubind(HWtopology, cpuset, 0);
if(hwloc_set_membind(HWtopology, cpuset, policy, flags))
{
char *showStringMSGofERROR;
int errorNumber = errno;
hwloc_bitmap_asprintf(&showStringMSGofERROR, cpuset);
printf("Couldn't bind to cpuset %s: %s\n", showStringMSGofERROR,
strerror(errorNumber));
free(showStringMSGofERROR);
}
if it's not possible to bind in my laptop - is there any option to bind memory
or cache for specific MPI process.
Thanks a lot in advance.
SAAD
_______________________________________________
hwloc-devel mailing list
[email protected]
https://lists.open-mpi.org/mailman/listinfo/hwloc-devel