Skip to content

Commit

Permalink
GH-450: Prevent job termination when downing a single node
Browse files Browse the repository at this point in the history
dds-slurm-plugin: Modified: Prevent job termination when downing a single node of the job allocation. (GH-450)
  • Loading branch information
AnarManafov committed Jun 13, 2022
1 parent 26b42fb commit f5190db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Added: Support of minimum number of agents to spawn. (GH-434)
Modified: Replace array job submission with nodes requirement. (GH-430)
Modified: Remove #SBATCH --ntasks-per-node=1. (GH-444)
Modified: The #SBATCH --cpus-per-task=%DDS_NSLOTS% requirement is now can be disabled by providing the "enable-overbooking" flag (ToolsAPI or dds-submit). (GH-442)
Modified: Prevent job termination when downing a single node of the job allocation. (GH-450)

### dds-localhost-plugin
Added: Support for SubmissionID (GH-411)
Expand Down
2 changes: 1 addition & 1 deletion plugins/dds-submit-slurm/src/job.slurm.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
#DDS_USER_OPTIONS

# execute DDS Scout
srun --output=slurm-%j-%N.out /usr/bin/env bash -c 'eval JOB_WRK_DIR=%DDS_AGENT_ROOT_WRK_DIR%/${SLURM_JOB_NAME}_${SLURM_JOBID}_${SLURMD_NODENAME}; mkdir -p $JOB_WRK_DIR; cd $JOB_WRK_DIR; cp %DDS_SCOUT% $JOB_WRK_DIR/; ./DDSWorker.sh'
srun --no-kill --kill-on-bad-exit=0 --output=slurm-%j-%N.out /usr/bin/env bash -c 'eval JOB_WRK_DIR=%DDS_AGENT_ROOT_WRK_DIR%/${SLURM_JOB_NAME}_${SLURM_JOBID}_${SLURMD_NODENAME}; mkdir -p $JOB_WRK_DIR; cd $JOB_WRK_DIR; cp %DDS_SCOUT% $JOB_WRK_DIR/; ./DDSWorker.sh'

exit 0

0 comments on commit f5190db

Please sign in to comment.