Dear Martin,

Thank you for your advice. I had not remembered to check the cgroup configuration and plugin status. I am quite sure that this will solve the issue.

Best regards, Kai Ruusuvuori


Kai,

The Linux scheduler is not constrained by Slurm core allocations. So normally it can schedule Slurm tasks, and their child processes, on any core on the node. To constrain a Slurm job to its allocated cores, configure the task/cgroup plugin in slurm.conf with ConstrainCores=yes in cgroup.conf. See the slurm.conf and cgroup.conf man pages for more information.

Also, as you note, Slurm uses its own CPU numbering system, so the CPU_IDs reported by Slurm will not necessarily match the CPU numbers reported by Linux commands like top.

Regards,
Martin Perry
Bull Phoenix

--
Kai Ruusuvuori, PhD Student

Faculty of Science
Department of Physics
Division of Atmospheric Sciences

P.O. Box 64
Gustaf Hällströmin katu 2
00014 University of Helsinki
Finland

Reply via email to