Don't think you're missing anything. I am getting the same behavior on my install (Slurm 2.6.2, slurm-drmaa 1.0.7). Job shows the name in squeue's output, but doesn't have the environment variable set. Just checking my sanity, if I submit with sbatch -J <name> the environment variable is set.
Must be another gap in slurm-drmaa. I've been working with it pretty heavily lately- I'll see if I can find anything. Best M On Tue, Apr 8, 2014 at 10:10 AM, E V <[email protected]> wrote: > > Submitting a job via slurm-drmaa which calls slurm_submit_batch_job() > I verified that the job_desc_msg_t passed in as the 1st param has it's > .name set to a valid string. However, the submitted job doesn't get > it's SLURM_JOB_NAME env variable set. Is this a bug, or am I missing > something? -- Hey! Somebody punched the foley guy! - Crow, MST3K ep. 508
