[slurm-users] [External] Limit usage outside reservation
Prentice Bisbal
pbisbal at pppl.gov
Thu Oct 22 19:05:09 UTC 2020
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