Ensure we always cleanup local procs, no matter how we exited.
This commit was SVN r26454.
Этот коммит содержится в:
родитель
12ebc0e269
Коммит
a526afae92
@ -729,6 +729,9 @@ int orte_daemon(int argc, char *argv[])
|
|||||||
opal_event_loop(orte_event_base, OPAL_EVLOOP_ONCE);
|
opal_event_loop(orte_event_base, OPAL_EVLOOP_ONCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ensure all local procs are dead */
|
||||||
|
orte_odls.kill_local_procs(NULL);
|
||||||
|
|
||||||
DONE:
|
DONE:
|
||||||
/* update the exit status, in case it wasn't done */
|
/* update the exit status, in case it wasn't done */
|
||||||
ORTE_UPDATE_EXIT_STATUS(orte_exit_status);
|
ORTE_UPDATE_EXIT_STATUS(orte_exit_status);
|
||||||
|
@ -930,6 +930,9 @@ int orterun(int argc, char *argv[])
|
|||||||
opal_event_loop(orte_event_base, OPAL_EVLOOP_ONCE);
|
opal_event_loop(orte_event_base, OPAL_EVLOOP_ONCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ensure all local procs are dead */
|
||||||
|
orte_odls.kill_local_procs(NULL);
|
||||||
|
|
||||||
DONE:
|
DONE:
|
||||||
/* cleanup and leave */
|
/* cleanup and leave */
|
||||||
orte_finalize();
|
orte_finalize();
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user