[slurm-users] Job allocating more CPUs than requested

DENOU, MEHDI mehdi.denou at atos.net
Fri Sep 21 11:17:18 MDT 2018

Hello Nick,

What is the result with only -n 1 ?
Could you provide your slurm.conf ?

A lot of parameters are involved in the allocation process. The choice between a few cores or a whole node depends mostly of "SelectType" and "Shared" in the partition definition.


-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Nicolas Bock
Sent: Friday, September 21, 2018 6:54 PM
To: slurm-users <slurm-users at schedmd.com>
Subject: [slurm-users] Job allocating more CPUs than requested


A job run with

  sbatch --ntasks=1 \
    --ntasks-per-node=1 \
    --cpus-per-task=1 \ --ntasks-per-core=1 \
    --sockets-per-core=1 \
    --cores-per-socket=1 \

shows as requesting 1 CPU when in queue, but then allocates all CPU cores once running. Why is that?

Any suggestions would be greatly appreciated,


More information about the slurm-users mailing list