Re: [slurm-users] Q about setting up CPU limits

2021-09-24 Thread Dj Merrill
Thank you Carsten.  I'll take a closer look at the QOS limit approach. If I'm understanding the documentation correctly, partition limits (non QOS) are set via the slurm.conf file, and although there are options for limiting the max number of nodes for a person, and the max cpus per node, ther

Re: [slurm-users] Q about setting up CPU limits

2021-09-23 Thread Carsten Beyer
Hi Dj, the solution could be in two QOS. We use something similar to restrict usage of GPU nodes (MaxTresPU=node=2). Examples below are from our Testcluster. 1) create a QOS with e.g. MaxTresPU=cpu=200 and assign it to your partition, e.g. [root@bta0 ~]# sacctmgr -s show qos maxcpu format=