[slurm-users] Checking memory requirements in job_submit.lua

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Mon Jun 18 05:28:12 MDT 2018

Prentice Bisbal <pbisbal at pppl.gov> writes:

> if job_desc.pn_min_mem > 65536 then
>     slurm.user_msg("NOTICE: Partition switched to mque due to memory
> requirements.")
>     job_desc.partition = 'mque'
>     job_desc.qos = 'mque'
>     return slurm.SUCCESS
> end

Somewhat off-topic, but:  So, does slurm.user_msg() now actually print a
message to users when one returns with slurm.SUCCESS?  (It didn't use to
work.)  Which version of slurm are you running?

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/20180618/d508cfc8/attachment.sig>

More information about the slurm-users mailing list