* fix the SEGV described in trac #892 that the exit_status in the 200 range
causes a strsignal to show NULL as a result. Still trying to determine why exit_status is in that range. This commit was SVN r13583.
Этот коммит содержится в:
родитель
041beeb1b6
Коммит
2d6b3776bf
@ -615,14 +615,18 @@ static void dump_aborted_procs(orte_jobid_t jobid)
|
||||
} else {
|
||||
if (num_aborted < max_display_aborted) {
|
||||
#ifdef HAVE_STRSIGNAL
|
||||
opal_show_help("help-orterun.txt", "orterun:proc-aborted-strsignal", false,
|
||||
if (NULL != strsignal(WTERMSIG(exit_status))) {
|
||||
opal_show_help("help-orterun.txt", "orterun:proc-aborted-strsignal", false,
|
||||
orterun_basename, (unsigned long)rank, (unsigned long)pid,
|
||||
node_name, WTERMSIG(exit_status),
|
||||
strsignal(WTERMSIG(exit_status)));
|
||||
#else
|
||||
opal_show_help("help-orterun.txt", "orterun:proc-aborted", false,
|
||||
} else {
|
||||
#endif
|
||||
opal_show_help("help-orterun.txt", "orterun:proc-aborted", false,
|
||||
orterun_basename, (unsigned long)rank, (unsigned long)pid,
|
||||
node_name, WTERMSIG(exit_status));
|
||||
#ifdef HAVE_STRSIGNAL
|
||||
}
|
||||
#endif
|
||||
}
|
||||
++num_aborted;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user