diff --git a/orte/mca/plm/base/plm_base_launch_support.c b/orte/mca/plm/base/plm_base_launch_support.c index 210968c65c..18cd6097d9 100644 --- a/orte/mca/plm/base/plm_base_launch_support.c +++ b/orte/mca/plm/base/plm_base_launch_support.c @@ -875,6 +875,8 @@ void orte_plm_base_app_report_launch(int fd, short event, void *data) jdata->aborted_proc = procs[vpid]; /* only store this once */ jdata->state = ORTE_JOB_STATE_FAILED_TO_START; /* update the job state */ } + /* increment the terminated counter */ + jdata->num_terminated++; /* ensure we have a non-zero exit code */ if (0 == jdata->aborted_proc->exit_code) { jdata->aborted_proc->exit_code = ORTE_ERROR_DEFAULT_EXIT_CODE; diff --git a/orte/mca/plm/base/plm_base_receive.c b/orte/mca/plm/base/plm_base_receive.c index 221f5e12a2..6f49eb082e 100644 --- a/orte/mca/plm/base/plm_base_receive.c +++ b/orte/mca/plm/base/plm_base_receive.c @@ -266,6 +266,7 @@ void orte_plm_base_receive_process_msg(int fd, short event, void *data) ORTE_VPID_PRINT(vpid))); continue; } + /* update the termination counter IFF the state is changing to something * indicating terminated */