check the return code and do something reasonable, instead of progressing and hanging on error
This commit was SVN r7531.
Этот коммит содержится в:
родитель
c1f5543f62
Коммит
75419313f7
@ -474,8 +474,12 @@ int ompi_comm_dyn_init (void)
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
ompi_comm_connect_accept (MPI_COMM_WORLD, root, port_proc_name,
|
rc = ompi_comm_connect_accept (MPI_COMM_WORLD, root, port_proc_name,
|
||||||
send_first, &newcomm, tag );
|
send_first, &newcomm, tag );
|
||||||
|
if (ORTE_SUCCESS != rc) {
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
/* Set the parent communicator */
|
/* Set the parent communicator */
|
||||||
ompi_mpi_comm_parent = newcomm;
|
ompi_mpi_comm_parent = newcomm;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user