Skip to content

Commit

Permalink
Use -- option for sbatch which is required for contanerized execution
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyLebedev authored and AnarManafov committed Feb 17, 2021
1 parent f9382d2 commit a2aad21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/dds-submit-slurm/src/dds-submit-slurm-worker
Original file line number Diff line number Diff line change
Expand Up @@ -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 $?
Expand Down

0 comments on commit a2aad21

Please sign in to comment.