Re: [slurm-users] Recording variables

2019-02-11 Thread Bjørn-Helge Mevik
... 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

Re: [slurm-users] Recording variables

2019-02-10 Thread Chris Samuel
On Sunday, 10 February 2019 3:42:52 PM PST McCarthy, Adam wrote: > We deal with sensitive data linked to projects with an alphanumeric ID. We > would like to record this ID against the job submission for accounting, > have it available as an environment variable for the job, and ideally > reject t

[slurm-users] Recording variables

2019-02-10 Thread McCarthy, Adam
Hello, We deal with sensitive data linked to projects with an alphanumeric ID. We would like to record this ID against the job submission for accounting, have it available as an environment variable for the job, and ideally reject the job if the project ID is not supplied. I have been consider