Cleanup: we were accidentally killing ourselves (bad idea)
Refs trac:4717 This commit was SVN r32022. The following Trac tickets were found above: Ticket 4717 --> https://svn.open-mpi.org/trac/ompi/ticket/4717
Этот коммит содержится в:
родитель
fd21b244ce
Коммит
5dbf4a62c4
@ -2141,9 +2141,9 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs,
|
|||||||
* in odls_default_module.c.
|
* in odls_default_module.c.
|
||||||
*/
|
*/
|
||||||
OPAL_OUTPUT_VERBOSE((5, orte_odls_base_framework.framework_output,
|
OPAL_OUTPUT_VERBOSE((5, orte_odls_base_framework.framework_output,
|
||||||
"%s SENDING FORCE SIGKILL TO %s",
|
"%s SENDING FORCE SIGKILL TO %s pid %lu",
|
||||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||||
ORTE_NAME_PRINT(&child->name)));
|
ORTE_NAME_PRINT(&child->name), (unsigned long)child->pid));
|
||||||
kill_local(child->pid, SIGKILL);
|
kill_local(child->pid, SIGKILL);
|
||||||
|
|
||||||
/* indicate the waitpid fired as this is effectively what
|
/* indicate the waitpid fired as this is effectively what
|
||||||
|
@ -693,7 +693,7 @@ static int odls_default_fork_local_proc(orte_app_context_t* context,
|
|||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
close(p[0]);
|
close(p[0]);
|
||||||
#if HAVE_SETPGID
|
#if HAVE_SETPGID
|
||||||
// setpgid(0, 0);
|
setpgid(0, 0);
|
||||||
#endif
|
#endif
|
||||||
do_child(context, child, environ_copy, jobdat, p[1], opts);
|
do_child(context, child, environ_copy, jobdat, p[1], opts);
|
||||||
/* Does not return */
|
/* Does not return */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user