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

Chris Samuel chris at csamuel.org
Sat Apr 21 17:20:29 MDT 2018


On Sunday, 22 April 2018 4:41:43 AM AEST Mahmood Naderan wrote:

> Since our head node has 32 cores, I want to add some cores to a
> partition. If I edit the parts file like this
> 
> PartitionName=SPEEDY AllowAccounts=em1 Nodes=compute-0-[2-4],rocks7
> 
> then it will include all cores.

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.

All the best,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC




More information about the slurm-users mailing list