Trying to cover the issue https://github.com/Eyescale/Equalizer/issues/167, I was trying to find the cpuset that corresponds to the allocated core. I have used the following allocation command salloc -N1 -n1 --gres=gpu:3 -p interactive and I got the following topology map
If I try to get the cpuset of the node connected to the host bridges of the allocated GPUs, I get a null cpuset for the third GPU, but I get for the second CPU the wrong one 0x0 which should be according to the previous figure 0x00000001().
The way I am getting the cpu sets is by
Checking the corresponding GPU to the attached screen
if (HWLOC_OBJ_OSDEV_GPU == osdev->attr->osdev.type
&& osdev->name
&& sscanf(osdev->name, ":%u.%u", &x, &y) == 2
&& port == x && device == y)
This gives me the osdev.
I get the parent of the osdev which should be the PCI device.
Trying to cover the issue https://github.com/Eyescale/Equalizer/issues/167, I was trying to find the cpuset that corresponds to the allocated core. I have used the following allocation command
salloc -N1 -n1 --gres=gpu:3 -p interactive
and I got the following topology mapIf I try to get the cpuset of the node connected to the host bridges of the allocated GPUs, I get a null cpuset for the third GPU, but I get for the second CPU the wrong one 0x0 which should be according to the previous figure 0x00000001(). The way I am getting the cpu sets is by
This gives me the osdev.