From: kronbichler Date: Mon, 21 Oct 2013 08:49:41 +0000 (+0000) Subject: Fix bug in update_ghost_values of matrix free with partition_partition strategy for... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a10ff87ad89e1dc5bc2a0b4004c2138987e1190;p=dealii-svn.git 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 --- 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