Hi Dietmar;
I tried this on ${my cluster}, as I switched to cgroupsv2 quite recently..
I must say that on my setup it looks it works as expected, see the grepped stdout from your reproducer below.
I use recent slurm 23.11.4 .
Wild guess.. Has your build machine bpt and dbus devel packages installed? (both packages are fine to be absent when doing build for cgroupsv1 - slurm..)
cheers
josef
[jose@koios1 test_cgroups]$ cat slurm-7177217.out | grep eli ValueError: CPU number 7 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 4 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 5 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 11 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 9 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 10 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 14 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 8 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 12 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 6 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 13 is not eligible; choose between [0, 1, 2, 3] ValueError: CPU number 15 is not eligible; choose between [0, 1, 2, 3] [jose@koios1 test_cgroups]$
On 28. 02. 24 14:28, Dietmar Rieder via slurm-users wrote: ...