Commit 744daf18 authored by Rajeev Thakur's avatar Rajeev Thakur
Browse files

[svn-r3244] removed extra error check

parent f12d0f39
...@@ -714,10 +714,7 @@ int MPI_Allreduce ( void *sendbuf, void *recvbuf, int count, ...@@ -714,10 +714,7 @@ int MPI_Allreduce ( void *sendbuf, void *recvbuf, int count,
/* now broadcast the result among local processes */ /* now broadcast the result among local processes */
if (comm_ptr->node_comm != NULL) if (comm_ptr->node_comm != NULL)
{
mpi_errno = MPIR_Bcast(recvbuf, count, datatype, 0, comm_ptr->node_comm); mpi_errno = MPIR_Bcast(recvbuf, count, datatype, 0, comm_ptr->node_comm);
if (mpi_errno) goto fn_fail;
}
} }
else { else {
mpi_errno = MPIR_Allreduce(sendbuf, recvbuf, count, datatype, mpi_errno = MPIR_Allreduce(sendbuf, recvbuf, count, datatype,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment