Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions orte/mca/errmgr/default_orted/errmgr_default_orted.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,14 @@ static void proc_errors(int fd, short args, void *cbdata)
* so that we send a consolidated error report
* back to the HNP
*/
if (jdata->num_local_procs == jdata->num_terminated) {
/* let the state machine know */
if (ORTE_PROC_STATE_FAILED_TO_START == state) {
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_FAILED_TO_START);
} else {
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_FAILED_TO_LAUNCH);
}
}
goto cleanup;
}

Expand Down