diff --git a/ReleaseNotes.md b/ReleaseNotes.md index c3ce9979..4e5c8150 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -21,6 +21,9 @@ Added: task ID to STopoRuntimeTask and collection ID to STopoRuntimeCollection. ### dds-session Modified: improved default SID storage and handling. (GH-318) +### dds-slurm-plugin +Fixed: use `--` option for `sbatch` which is required for contanerized execution. + ## v3.4 (2020-07-01) ### DDS common diff --git a/plugins/dds-submit-slurm/src/dds-submit-slurm-worker b/plugins/dds-submit-slurm/src/dds-submit-slurm-worker index 8c14f409..61ad6d80 100755 --- a/plugins/dds-submit-slurm/src/dds-submit-slurm-worker +++ b/plugins/dds-submit-slurm/src/dds-submit-slurm-worker @@ -47,7 +47,7 @@ if [ "$RMS_SANDBOX" != "$WORK_DIR" ]; then fi logMsg "Submitting DDS Job on the SLURM cluster..." -JOB_ID=$(sbatch --job-name dds_agent_ $RMS_SANDBOX/job.slurm) +JOB_ID=$(sbatch --job-name dds_agent_ -- $RMS_SANDBOX/job.slurm) if (( $? != 0 )) ; then logMsg "Error: Failed to submit SLURM job ($?)" exit $?