[slurm-users] Recording variables

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Mon Feb 11 11:20:45 UTC 2019

... and to force users to supply --account, something like this in the
job_submit.lua should work:

   -- If account is missing: fail
   if job_desc.account == nil then
      slurm.log_info("job from uid %d with missing account: Denying.",
      slurm.user_msg("Account specification required, but not provided")
      return 2045 -- Signal ESLURM_INVALID_ACCOUNT

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/20190211/d3679b73/attachment-0001.sig>

More information about the slurm-users mailing list