Rémi Palancher via slurm-users slurm-users@lists.schedmd.com writes:
Slurm does not currently provide native enforcement of consumption-based quotas (e.g. CPU or GPU minutes).
I don't think that is 100 % accurate. Slurm does have the GrpTRESMins specification, which can be set up users, accounts and QoS'es. This limits the number of cpu, gpu, memory or billing-minutes they can use.
There are limitations, though: One has to use the Priority Multifactor plugin, and cannot use fair share priorities (except if using GrpTRESMins on QoS'es only). Also, adjusting the used time is not possible (except setting it to 0).
That said, I think the slurm-quota tool looks interesting, especially if one uses fair share priorites, or just needs more flexibility.
One question: Does the slurm-quota tool take requeued jobs into account, so that a job that is requeued (either manually or by node failure) will not exceed the quota?