1
1

Print out the description of the signal from mpirun when a proc was aborted

by a signal if we have strsignal()

This commit was SVN r12888.
Этот коммит содержится в:
Brian Barrett 2006-12-17 20:01:11 +00:00
родитель 299fc7149e
Коммит bc6cec346f
2 изменённых файлов: 9 добавлений и 0 удалений

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

@ -87,6 +87,8 @@ Returned value %d instead of ORTE_SUCCESS.
Returned value %d instead of ORTE_SUCCESS.
[orterun:proc-aborted]
%s noticed that job rank %lu with PID %lu on node %s exited on signal %d.
[orterun:proc-aborted-strsignal]
%s noticed that job rank %lu with PID %lu on node %s exited on signal %d (%s).
[orterun:abnormal-exit]
WARNING: %s encountered an abnormal exit.

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

@ -592,9 +592,16 @@ static void dump_aborted_procs(orte_jobid_t jobid)
++num_killed;
} else {
if (num_aborted < max_display_aborted) {
#ifdef HAVE_STRSIGNAL
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,
orterun_basename, (unsigned long)rank, (unsigned long)pid,
node_name, WTERMSIG(exit_status));
#endif
}
++num_aborted;
}