1
1

check the return code and do something reasonable, instead of progressing and hanging on error

This commit was SVN r7531.
Этот коммит содержится в:
Josh Hursey 2005-09-28 06:13:51 +00:00
родитель c1f5543f62
Коммит 75419313f7

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

@ -474,8 +474,12 @@ int ompi_comm_dyn_init (void)
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 );
if (ORTE_SUCCESS != rc) {
return rc;
}
/* Set the parent communicator */
ompi_mpi_comm_parent = newcomm;