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-
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 Ineed 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.