Skip to content
Snippets Groups Projects
Commit b0ed0501 authored by Hongjia Cao's avatar Hongjia Cao Committed by jette
Browse files

fix of slurmctld abort on node failure if affected job has pending steps

parent 0eacffee
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,8 @@ extern void srun_node_fail (uint32_t job_id, char *node_name)
step_iterator = list_iterator_create(job_ptr->step_list);
while ((step_ptr = (struct step_record *) list_next(step_iterator))) {
if (step_ptr->step_node_bitmap == NULL) /* pending step */
continue;
if ((bit_position >= 0) &&
(!bit_test(step_ptr->step_node_bitmap, bit_position)))
continue; /* job step not on this node */
......
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