I am struggling to set slurm to allocate the correct CPUs for a job
requesting 1 task.

With hyperthreading enabled and the CR_Core setting slurm allocates 2
CPUs per job requesting 1 CPU:



srun -n 1  --pty --ntasks-per-node=1

shows:
NodeList=gpu-1-9
NumNodes=2 NumCPUs=2 CPUs/Task=1



The node configuratoin has the correct settings:
CPUs=32 Sockets=2 CoresPerSocket=8 ThreadsPerCore=2



I can't use the CR_CPU_Memory since I would like 2 partitions to monitor
CR_Core_Memory and one partition to monitor CR_Core. The partition
SelectTypeParameters does not allow for CR_CPU


How do I configure slurm to allocate the correct CPUs requested by the
job?


Thanks
Eva

Reply via email to