Skip to content
Snippets Groups Projects
Commit 33dab7ae authored by Morris Jette's avatar Morris Jette
Browse files

Improve srun step launch failure handling

Patch from Hongjia Cao, NUDT.
parent f640e863
No related branches found
No related tags found
No related merge requests found
......@@ -564,6 +564,7 @@ int srun(int ac, char **av)
SLURM_SUCCESS) {
error("Application launch failed: %m");
global_rc = 1;
slurm_step_launch_abort(job->step_ctx);
slurm_step_launch_wait_finish(job->step_ctx);
goto cleanup;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment