[slurm-users] [External] Limit usage outside reservation
Burian, John
John.Burian at nationwidechildrens.org
Thu Oct 22 19:20:04 UTC 2020
This doesn' t help you now, but Slurm 20.11 is expected to have "magnetic reservations," which are reservations that will adopt jobs that don't specify a reservation but otherwise meet the restrictions of the reservation:
https://slurm.schedmd.com/SLUG20/Roadmap.pdf, search for "magnetic"
John
-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Prentice Bisbal <pbisbal at pppl.gov>
Reply-To: Slurm User Community List <slurm-users at lists.schedmd.com>
Date: Thursday, October 22, 2020 at 3:06 PM
To: "slurm-users at lists.schedmd.com" <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] [External] Limit usage outside reservation
[WARNING: External Email - Use Caution]
On 10/20/20 3:01 AM, SJTU wrote:
> Hi,
>
> We reserved compute node resource on SLURM for specific users and hope they will make good use of it. But in some cases users forgot the '--reservation' parameter in job scripts, competing with other users outside the reserved nodes.
>
> Is there a recommended way to limit users' usage *OUTSIDE* their reserved resource?
If you want to apply different limits inside and outside the
reservation, you'll need to setup different QOSes for inside and outside
the reservation. One way to do this in a way that is transparent to the
users is to use the job_submit.lua script to check if the reservation
has been requested, and set the QOS based on that.
Prentice
More information about the slurm-users
mailing list