Re: [slurm-users] Limit partition to 1 job at a time

2022-03-28 Thread Chris Samuel
On 22/3/22 11:40 am, Russell Jones wrote: I am struggling to figure out how to do this. Any tips? My only thought to achieve this would be to define a license for the partition with a count of 1 and to use the job submit filter to ensure that any job that is submitted to (or ends up being di

Re: [slurm-users] Limit partition to 1 job at a time

2022-03-23 Thread Gerhard Strangar
Russell Jones wrote: > I suppose I am confused about how GrpJobs works. The manual shows: > > The total number of jobs able to run at any given time from an association > and its children QOS > > > It is my understanding an association is cluster + account + user. Would > this not just limit it

Re: [slurm-users] Limit partition to 1 job at a time

2022-03-23 Thread Russell Jones
Thanks! I suppose I am confused about how GrpJobs works. The manual shows: The total number of jobs able to run at any given time from an association and its children QOS It is my understanding an association is cluster + account + user. Would this not just limit it to 1 job per user in the par

Re: [slurm-users] Limit partition to 1 job at a time

2022-03-22 Thread Gerhard Strangar
Russell Jones wrote: > I am struggling to figure out how to do this. Any tips? Create a QoS with GrpJobs=1 and assign it to the partition?

Re: [slurm-users] Limit partition to 1 job at a time

2022-03-22 Thread Paul Edmon
I think you could do this by clever use of a partition level QoS but I don't have an obvious way of doing this. -Paul Edmon- On 3/22/2022 11:40 AM, Russell Jones wrote: Hi all, For various reasons, we need to limit a partition to being able to run max 1 job at a time. Not 1 job per user, but

[slurm-users] Limit partition to 1 job at a time

2022-03-22 Thread Russell Jones
Hi all, For various reasons, we need to limit a partition to being able to run max 1 job at a time. Not 1 job per user, but 1 job total at a time, while queuing any other jobs to run after this one is complete. I am struggling to figure out how to do this. Any tips? Thanks!