13 Mar
2025
13 Mar
'25
1:52 p.m.
Have you looked at this? https://slurm.schedmd.com/slurm.conf.html#OPT_job_env Note that it will eat up a ton of space in the database, so be warned. -Paul Edmon- On 3/13/25 3:36 AM, Bhaskar Chakraborty via slurm-users wrote:
Hi everyone,
I have tried my best to extract custom job environment variables inside a custom select plugin. However, I am not able to get the same.
I am able to get the env in a custom client filter plugin during job submission (sbatch --export) but I need the same in slurmctld as well.
Is there any way this can be achieved. I have looked over few of the internal DS pointers (job_record, job_details etc) but none seem to provide the required functionality.
Any insight is appreciated.
Regards, Bhaskar.