From: heister Date: Wed, 4 Sep 2013 19:37:01 +0000 (+0000) Subject: revert part of 30600 (accident) X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98631085a3bbc60c6d1acf3d930e1d417a179728;p=dealii-svn.git revert part of 30600 (accident) git-svn-id: https://svn.dealii.org/trunk@30601 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_handler_policy.cc b/deal.II/source/dofs/dof_handler_policy.cc index c3beb577e7..496a9e16f4 100644 --- a/deal.II/source/dofs/dof_handler_policy.cc +++ b/deal.II/source/dofs/dof_handler_policy.cc @@ -1888,15 +1888,15 @@ namespace internal #ifdef DEBUG - {MPI_Barrier(tr->get_communicator()); + { //check all msgs got sent and received unsigned int sum_send=0; unsigned int sum_recv=0; unsigned int sent=needs_to_get_cells.size(); unsigned int recv=senders.size(); - MPI_Reduce(&sent, &sum_send, 1, MPI_UNSIGNED, MPI_SUM, 56345, tr->get_communicator()); - MPI_Reduce(&recv, &sum_recv, 1, MPI_UNSIGNED, MPI_SUM, 56346, tr->get_communicator()); + MPI_Reduce(&sent, &sum_send, 1, MPI_UNSIGNED, MPI_SUM, 0, tr->get_communicator()); + MPI_Reduce(&recv, &sum_recv, 1, MPI_UNSIGNED, MPI_SUM, 0, tr->get_communicator()); Assert(sum_send==sum_recv, ExcInternalError()); } #endif