1
1

Ensure we don't silently fail when unable to make a connection - bark pleasantly first.

Refs trac:4571

This commit was SVN r31537.

The following Trac tickets were found above:
  Ticket 4571 --> https://svn.open-mpi.org/trac/ompi/ticket/4571
Этот коммит содержится в:
Ralph Castain 2014-04-28 19:16:32 +00:00
родитель d642babff6
Коммит 3723b39f30
2 изменённых файлов: 11 добавлений и 0 удалений

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

@ -10,6 +10,7 @@
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2014 Intel, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
@ -68,6 +69,7 @@ value will be ignored.
One or more TCP routes were given to a process, but no
communication path could be found:
Node: %s
Source: %s
Peer: %s

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

@ -1487,6 +1487,15 @@ void mca_oob_tcp_component_failed_to_connect(int fd, short args, void *cbdata)
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(&pop->peer));
/* eventually, we should allow other OOB components a chance to connect
* to the target process. However, for now, we need to ensure we don't
* have a silent failure - so emit a "couldn't connect" message
*/
orte_show_help("help-oob-tcp.txt", "unable-to-communicate", true,
orte_process_info.nodename,
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
ORTE_NAME_PRINT(&pop->peer));
cleanup:
/* if this was a lifeline, then alert */
if (ORTE_SUCCESS != orte_routed.route_lost(&pop->peer)) {