diff --git a/src/slaunch/opt.c b/src/slaunch/opt.c index 33d81413befdef53654b39b6e603265821204b30..e8ba8c4d85a8639e27b7c4cd901ef2c27a78a53e 100644 --- a/src/slaunch/opt.c +++ b/src/slaunch/opt.c @@ -667,6 +667,8 @@ struct env_vars { }; env_vars_t env_vars[] = { + {"SLURM_JOBID", OPT_INT, &opt.jobid, &opt.jobid_set }, + {"SLURM_JOB_ID", OPT_INT, &opt.jobid, &opt.jobid_set }, {"SLAUNCH_JOBID", OPT_INT, &opt.jobid, &opt.jobid_set }, {"SLURMD_DEBUG", OPT_INT, &opt.slurmd_debug, NULL }, {"SLAUNCH_CORE_FORMAT", OPT_CORE, NULL, NULL },