1
1

When the BTL TCP is trying to connect to a peer, output it's process name

in addition to all the information.

This commit was SVN r24534.
Этот коммит содержится в:
George Bosilca 2011-03-16 20:20:14 +00:00
родитель 3204af2d36
Коммит 13d2998d54

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

@ -569,9 +569,10 @@ static int mca_btl_tcp_endpoint_start_connect(mca_btl_base_endpoint_t* btl_endpo
mca_btl_tcp_proc_tosocks(btl_endpoint->endpoint_addr, &endpoint_addr);
opal_output_verbose(20, mca_btl_base_output,
"btl: tcp: attempting to connect() to address %s on port %d",
"btl: tcp: attempting to connect() to %s address %s on port %d",
ORTE_NAME_PRINT(&btl_endpoint->endpoint_proc->proc_ompi->proc_name),
opal_net_get_hostname((struct sockaddr*) &endpoint_addr),
btl_endpoint->endpoint_addr->addr_port);
ntohs(btl_endpoint->endpoint_addr->addr_port));
if(connect(btl_endpoint->endpoint_sd, (struct sockaddr*)&endpoint_addr, addrlen) < 0) {
/* non-blocking so wait for completion */