From 329c63ad5ce3d920d2fa70052393c23ebdfe2972 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 21 Oct 2013 08:49:41 +0000 Subject: [PATCH] Fix bug in update_ghost_values of matrix free with partition_partition strategy for hybrid parallelism. git-svn-id: https://svn.dealii.org/trunk@31370 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/matrix_free/matrix_free.h | 5 +---- tests/mpi/matrix_free_02.cc | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/deal.II/include/deal.II/matrix_free/matrix_free.h b/deal.II/include/deal.II/matrix_free/matrix_free.h index 59b9ae536f..ffc29f351e 100644 --- a/deal.II/include/deal.II/matrix_free/matrix_free.h +++ b/deal.II/include/deal.II/matrix_free/matrix_free.h @@ -2305,10 +2305,7 @@ MatrixFree::cell_loop internal::MPIComDistribute *worker_dist = new (worker[j]->allocate_child()) internal::MPIComDistribute(src); - if (odds == 0) - break; - else - worker_dist->spawn(*worker_dist); + worker_dist->spawn(*worker_dist); } if (j mf (mf_data); - MPI_Barrier(MPI_COMM_WORLD); deallog << "Norm of difference:"; // run 10 times to make a possible error more -- 2.39.5