1
1

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
Этот коммит содержится в:
Ralph Castain 2014-06-17 20:38:42 +00:00
родитель fd21b244ce
Коммит 5dbf4a62c4
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -2141,9 +2141,9 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs,
* in odls_default_module.c.
*/
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(&child->name)));
ORTE_NAME_PRINT(&child->name), (unsigned long)child->pid));
kill_local(child->pid, SIGKILL);
/* 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) {
close(p[0]);
#if HAVE_SETPGID
// setpgid(0, 0);
setpgid(0, 0);
#endif
do_child(context, child, environ_copy, jobdat, p[1], opts);
/* Does not return */