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