Try to provide a real hostname for the remote host to aid in debugging
Refs trac:4908 This commit was SVN r32748. The following Trac tickets were found above: Ticket 4908 --> https://svn.open-mpi.org/trac/ompi/ticket/4908
Этот коммит содержится в:
родитель
9dc49c5f92
Коммит
414f4e9783
@ -255,6 +255,9 @@ void mca_oob_tcp_peer_try_connect(int fd, short args, void *cbdata)
|
|||||||
/* no address succeeded, so we cannot reach this peer */
|
/* no address succeeded, so we cannot reach this peer */
|
||||||
peer->state = MCA_OOB_TCP_FAILED;
|
peer->state = MCA_OOB_TCP_FAILED;
|
||||||
host = orte_get_proc_hostname(&(peer->name));
|
host = orte_get_proc_hostname(&(peer->name));
|
||||||
|
if (NULL == host) {
|
||||||
|
host = opal_net_get_hostname((struct sockaddr*)&(peer->active_addr->addr));
|
||||||
|
}
|
||||||
/* use an opal_output here instead of show_help as we may well
|
/* use an opal_output here instead of show_help as we may well
|
||||||
* not be connected to the HNP at this point */
|
* not be connected to the HNP at this point */
|
||||||
opal_output(orte_clean_output,
|
opal_output(orte_clean_output,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user