sbatch and srun always attempts to ensure that certain vars are set in the job description. These are:
$SLURM_PRIO_PROCESS
$SLURM_SUBMIT_HOST
$SLURM_SUBMIT_DIR
$SLURM_UMASK
slurm-drmaa was not previously doing this, and it's implemented in the Slurm client programs, not in the API, so those functions have been incorporated.
sbatch
andsrun
always attempts to ensure that certain vars are set in the job description. These are:$SLURM_PRIO_PROCESS
$SLURM_SUBMIT_HOST
$SLURM_SUBMIT_DIR
$SLURM_UMASK
slurm-drmaa was not previously doing this, and it's implemented in the Slurm client programs, not in the API, so those functions have been incorporated.
Fixes #18, supercedes #19.