If you have accounting implemented, just set MaxJobs and it will do the trick:

MaxJobs= The total number of jobs able to run at any given time for the given association. If this limit is reached new jobs will be queued but only allowed to run after previous jobs complete from the association.


Brian Andrus


On 10/18/2019 1:03 PM, bbenede...@goodyear.com wrote:
Greetings!

I am trying to set up a partition that will only allow one job at a time to
run, regardless of who submits it.

So multiple jobs from multiple users can be in the queue.  But I only want the
partition to run one at a time.

I also have the need to set up an additional partition with the same type of
requirement, but with three concurrent jobs running instead of one.

Is that possible with Slurm?

Thanks!


Reply via email to