Hi, I found the commit: commit 9b4f363456fe99629603386f57331f1a5011d6f3 Author: Morris Jette <jette@schedmd.com> Date: Sun Mar 16 15:55:44 2014 -0700 Export "SLURM*" env vars if --export=NONE Previously if the sbatch --export=NONE option was used then several Slurm environment variables were not propagated from the sbatch command (SLURM_SUBMIT_DIR, SLURM_SUBMIT_HOST, SLURM_JOB_NAME, etc.) Can you add this correction to slurm-2.6.**? Thomas
Created attachment 1132 [details] backport of sbatch --export=NONE fix for Slurm v2.6
The last release of version 2.6 was five months ago and we have no expectation of making any more releases. I have attached a patch of this applied to version 2.6, which can be used as a site-local patch if desired. I also committed this patch to the slurm-2.6 branch in github if someone wants to work from that instead.