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

PropagatePrioProcess slurm config setting causes error with SLURM_PRIO_PROCESS #18

Closed lparsons closed 5 years ago

lparsons commented 5 years ago

If the Slurm config setting PropagatePrioProcess is set, jobs submitted via slurm-drmaa emit the error:

slurmstepd: error: Couldn't find SLURM_PRIO_PROCESS in environment

Slurm manager checks for this and sbatch sets this environment variable, and thus slurm-drmaa also needs to set it.