Re: [slurm-users] Does setting 'job_desc.mail_user' in job_submit.lua work?

2022-01-10 Thread Loris Bennett
Hi Alexander, Thanks for the further confirmation. It's a shame your patch has not made it into a release yet - it seems like a fairly minor change. Cheers, Loris Alexander Block writes: > Hi Loris, > > I can confirm that this does not work. I patched it myself and opened already > an > en

Re: [slurm-users] Does setting 'job_desc.mail_user' in job_submit.lua work?

2022-01-10 Thread Alexander Block
Hi Loris, I can confirm that this does not work. I patched it myself and opened already an enhancement (Bug 11591) but nothing happened so far... Regards, Alexander Am 10.01.2022 um 11:14 schrieb Loris Bennett: Hi, Does setting 'mail_user' in job_submit.lua actually work in Slurm 21.08.5?

Re: [slurm-users] Does setting 'job_desc.mail_user' in job_submit.lua work?

2022-01-10 Thread Loris Bennett
Hi Marcus, Thanks for confirming. So this is a bug (a documentation one at least), since https://slurm.schedmd.com/job_submit_plugins.html claims that _get_job_req_field() contains the list of attributes available for the job_descriptor (e.g. submission or modification request). and _g

Re: [slurm-users] Does setting 'job_desc.mail_user' in job_submit.lua work?

2022-01-10 Thread Marcus Boden
Hi Loris, I can confirm the problem: I am not able to modify the job_desc.mail_user. Other values can be modified, though. We are also on 21.08.5 Best, Marcus On 10.01.22 11:14, Loris Bennett wrote: Hi, Does setting 'mail_user' in job_submit.lua actually work in Slurm 21.08.5? I have, if

[slurm-users] Does setting 'job_desc.mail_user' in job_submit.lua work?

2022-01-10 Thread Loris Bennett
Hi, Does setting 'mail_user' in job_submit.lua actually work in Slurm 21.08.5? I have, if certain conditions are met job_desc.mail_user = other_email_address Logging tells me that this part of the code is indeed reached, but the email address in the job is not changed. Other parts of the pl