[slurm-users] Checking RawUsage against GrpTRESMins

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Wed May 29 08:37:50 UTC 2019


Paddy Doyle <paddy at tchpc.tcd.ie> writes:

> Hi Jacob,
>
> On Tue, May 28, 2019 at 11:38:23AM -0400, Jacob Chappell wrote:
>
>> Hello all,
>> 
>> Is it possible in Slurm to check RawUsage against GrpTRESMins and prevent a
>> job from being submitted if the RawUsage exceeds the GrpTRESMins? My center
>> needs this feature for detailed accounting constraints. The RawUsage is
>> important to us because we weight certain resource types and want to bill
>> people appropriately (e.g., if you use 12 GB of RAM and 1 CPU you should be
>> billed for 2 CPUs).
>
> That sounds like you want 'AccountingStorageEnforce=safe'; see:

That will not prevent the job from being submitted, only from being
started.

I think the Lua job submit plugin is a good place to check things like
this, because it can prevent jobs from being submitted.

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190529/d7b3d81e/attachment.sig>


More information about the slurm-users mailing list