natefoo / slurm-drmaa

DRMAA for Slurm: Implementation of the DRMAA C bindings for Slurm
GNU General Public License v3.0
48 stars 22 forks source link

Add environment variabes that are always injected by slurm client programs #23

Closed natefoo closed 5 years ago

natefoo commented 5 years ago

sbatch and srun always attempts to ensure that certain vars are set in the job description. These are:

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.