Skip to content

Commit 8e165c8

Browse files
committed
orte/errmgr: Improve help message on connection lost
Signed-off-by: Joshua Hursey <[email protected]> (cherry picked from commit c452f68) Signed-off-by: Joshua Hursey <[email protected]>
1 parent 97e48bf commit 8e165c8

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

orte/mca/errmgr/base/help-errmgr-base.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
1313
# Copyright (c) 2014 Intel, Inc. All rights reserved.
14+
# Copyright (c) 2017 IBM Corporation. All rights reserved.
1415
# $COPYRIGHT$
1516
#
1617
# Additional copyrights may follow
@@ -61,9 +62,10 @@ route found between them. Please check network connectivity
6162
(including firewalls and network routing requirements).
6263
#
6364
[node-died]
64-
ORTE has lost communication with its daemon located on node:
65+
ORTE has lost communication with a remote daemon.
6566

66-
hostname: %s
67+
HNP daemon : %s on node %s
68+
Remote daemon: %s on node %s
6769

6870
This is usually due to either a failure of the TCP network
6971
connection to the node, or possibly an internal failure of

orte/mca/errmgr/default_hnp/errmgr_default_hnp.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Copyright (c) 2011-2015 Los Alamos National Security, LLC.
1111
* All rights reserved.
1212
* Copyright (c) 2014 Intel, Inc. All rights reserved.
13+
* Copyright (c) 2017 IBM Corporation. All rights reserved.
1314
* $COPYRIGHT$
1415
*
1516
* Additional copyrights may follow
@@ -369,7 +370,11 @@ static void proc_errors(int fd, short args, void *cbdata)
369370
/* record the first one to fail */
370371
if (!ORTE_FLAG_TEST(jdata, ORTE_JOB_FLAG_ABORTED)) {
371372
/* output an error message so the user knows what happened */
372-
orte_show_help("help-errmgr-base.txt", "node-died", true, pptr->node->name);
373+
orte_show_help("help-errmgr-base.txt", "node-died", true,
374+
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
375+
orte_process_info.nodename,
376+
ORTE_NAME_PRINT(proc),
377+
pptr->node->name);
373378
/* mark the daemon job as failed */
374379
jdata->state = ORTE_JOB_STATE_COMM_FAILED;
375380
/* point to the lowest rank to cause the problem */

0 commit comments

Comments
 (0)