1
1

Fix the error message in case a daemon does not succeed at killing the

local offspring.

This commit was SVN r27362.
Этот коммит содержится в:
George Bosilca 2012-09-24 15:25:21 +00:00
родитель d5279b0dc8
Коммит 6ec41400b3
2 изменённых файлов: 18 добавлений и 19 удалений

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

@ -12,6 +12,13 @@
#
# This is the US/English general help file for Open RTE's ODLS Framework
#
[orte-odls-base:could-not-kill]
WARNING: A process refused to die despite all the efforts!
This process may still be running and/or consuming resources.
Host: %s
PID: %d
[orte-odls-base:could-not-preload-binary]
WARNING: Could not preload the binary file.

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

@ -2214,13 +2214,6 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs,
"%s SENDING SIGKILL TO %s",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(&child->name)));
kill_local(child->pid, SIGKILL);
/* Double check that it actually died this time */
if (!child_died(child)) {
orte_show_help("help-odls-default.txt",
"odls-default:could-not-kill",
true, orte_process_info.nodename, child->pid);
}
} else {
/* Force the SIGKILL just to make sure things are dead
* This fixes an issue that, if the application is masking
@ -2233,19 +2226,18 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs,
"%s SENDING FORCE SIGKILL TO %s",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(&child->name)));
kill_local(child->pid, SIGKILL);
/* Double check that it actually died this time */
if (!child_died(child)) {
orte_show_help("help-odls-default.txt",
"odls-default:could-not-kill",
true, orte_process_info.nodename, child->pid);
}
}
OPAL_OUTPUT_VERBOSE((5, orte_odls_globals.output,
"%s odls:kill_local_proc child %s killed",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(&child->name)));
kill_local(child->pid, SIGKILL);
/* Double check that it actually died this time */
if (!child_died(child)) {
orte_show_help("help-orte-odls-base.txt",
"orte-odls-base:could-not-kill",
true, orte_process_info.nodename, child->pid);
} else
OPAL_OUTPUT_VERBOSE((5, orte_odls_globals.output,
"%s odls:kill_local_proc child %s killed",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(&child->name)));
/* indicate the waitpid fired as this is effectively what
* has happened