Jeff,

Create a qos with maxjobs defined.
https://slurm.schedmd.com/qos.html
https://wiki.fysik.dtu.dk/niflheim/Slurm_accounting#quality-of-service-qos

If you haven't used slurm qos before, you may want to check out the other limits possible, they are more flexible than maxjobs.

Add the qos to the partition (qos=).

-b

On 12/9/19 4:18 PM, Jeffrey R. Lang wrote:

I need to set up a partition that limits the number of jobs allowed to run at one time.   Looking at the slurm.conf page for partition definitions I don’t see a MaxJobs option.

Is there a way to limit the number of jobs in a partition?

Thanks, Jeff


Reply via email to