Skip to content

Commit 902b579

Browse files
committed
btl tcp: Print number of endpoints on error
While trying to debug #3035, it's not clear whether there is an issue with the modex data or printing the address list. Print the number of endpoints on the error, which will help determine which case is happening to Cisco. Signed-off-by: Brian Barrett <bbarrett@amazon.com>
1 parent bd07cc6 commit 902b579

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

opal/mca/btl/tcp/btl_tcp_proc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ void mca_btl_tcp_proc_accept(mca_btl_tcp_proc_t* btl_proc, struct sockaddr* addr
929929
btl_proc->proc_opal->proc_hostname,
930930
OPAL_NAME_PRINT(btl_proc->proc_opal->proc_name),
931931
opal_net_get_hostname((struct sockaddr*)addr),
932+
btl_proc->proc_endpoint_count,
932933
(NULL == addr_str) ? "NONE" : addr_str);
933934
if (NULL != addr_str) {
934935
free(addr_str);

opal/mca/btl/tcp/help-mpi-btl-tcp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ hopefully be able to continue).
9999
Local PID: %d
100100
Peer hostname: %s (%s)
101101
Source IP of socket: %s
102-
Known IPs of peer: %s
102+
Known IPs of peer (%d): %s
103103
#
104104
[socket flag fail]
105105
WARNING: Open MPI failed to get or set flags on a TCP socket. This

0 commit comments

Comments
 (0)