From 2a427c529187e0b6926efa4efabd15ee39d6bc85 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 4 Sep 2013 19:37:01 +0000 Subject: [PATCH] revert part of 30600 (accident) git-svn-id: https://svn.dealii.org/trunk@30601 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_handler_policy.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5