1
1

Add the callers name to the 'comm failed' error message, so we know between which two peers the communication failed.

This commit was SVN r26117.
Этот коммит содержится в:
Josh Hursey 2012-03-08 21:55:19 +00:00
родитель 359c575345
Коммит a595525366
2 изменённых файлов: 4 добавлений и 0 удалений

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

@ -14,6 +14,7 @@
* Copyright (c) 2007-2009 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2007-2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights * Copyright (c) 2007 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* Copyright (c) 2012 Oak Ridge National Labs. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -386,6 +387,7 @@ static void dump_aborted_procs(void)
} }
} else if (ORTE_JOB_STATE_COMM_FAILED == job->state) { } else if (ORTE_JOB_STATE_COMM_FAILED == job->state) {
orte_show_help("help-orterun.txt", "orterun:proc-comm-failed", true, orte_show_help("help-orterun.txt", "orterun:proc-comm-failed", true,
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(&proc->name), node->name); ORTE_NAME_PRINT(&proc->name), node->name);
} else if (ORTE_JOB_STATE_SENSOR_BOUND_EXCEEDED == job->state) { } else if (ORTE_JOB_STATE_SENSOR_BOUND_EXCEEDED == job->state) {
switch (proc->exit_code) { switch (proc->exit_code) {

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

@ -11,6 +11,7 @@
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved. # Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2012 Oak Ridge National Labs. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -588,6 +589,7 @@ Please check your boundaries and try again.
[orterun:proc-comm-failed] [orterun:proc-comm-failed]
A critical communication path was lost to: A critical communication path was lost to:
My name: %s
Process name: %s Process name: %s
Node: %s Node: %s
# #