... 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.",
                     job_desc.user_id)
      slurm.user_msg("Account specification required, but not provided")
      return 2045 -- Signal ESLURM_INVALID_ACCOUNT
   end

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo

Attachment: signature.asc
Description: PGP signature

Reply via email to