[slurm-users] Include some cores of the head node to a partition

Benjamin Redling benjamin.rampe at uni-jena.de
Sun Apr 22 06:05:42 MDT 2018

Hello Mahmood,

Am 22.04.2018 um 04:55 schrieb Mahmood Naderan:
> I think that will limit other nodes to 20 too. Isn't that?

you can declare less CPUs than phys. available. I do that for our
cluster; it is working robust for ages.

> Currently computes have 32 cores per node and I want all 32 cores. The
> head node also has 32 core but I want to include only 20 cores.

Agree with you. You don't need to restrict the whole
partition/cluster/etc. to only 20 cores when you only need that for a
single node.

> On Sun, Apr 22, 2018, 03:53 Chris Samuel <chris at csamuel.org
> <mailto:chris at csamuel.org>> wrote:
>     All you need to do is add "MaxCPUsPerNode=20" to that to limit the
>     number of
>     cores that the partition can use.
>     We do this for our non-GPU job partition to reserve some cores for
>     the GPU job
>     partition

That might be a valid solution for that cluster.
But it is a wasteful solution to Mahmood's.

FSU Jena | JULIELab.de/Staff/Benjamin+Redling.html
☎ +49 3641 9 44323

More information about the slurm-users mailing list