]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix bug in update_ghost_values of matrix free with partition_partition strategy for...
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Oct 2013 08:49:41 +0000 (08:49 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Oct 2013 08:49:41 +0000 (08:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@31370 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/matrix_free/matrix_free.h
tests/mpi/matrix_free_02.cc

index 59b9ae536f57139f7b664fbf66c55d7d6e4d987c..ffc29f351e9ff64363accb6858ead20b6dfb5eb0 100644 (file)
@@ -2305,10 +2305,7 @@ MatrixFree<dim, Number>::cell_loop
                   internal::MPIComDistribute<InVector> *worker_dist =
                     new (worker[j]->allocate_child())
                   internal::MPIComDistribute<InVector>(src);
-                  if (odds == 0)
-                    break;
-                  else
-                    worker_dist->spawn(*worker_dist);
+                  worker_dist->spawn(*worker_dist);
                 }
               if (j<evens-1)
                 {
index 4ba13a5242c9e4771171de81f8bb8d1bc287882e..39fcb9fbdc2a8e88d3c5617aee2aa66fd7a7c3be 100644 (file)
@@ -184,7 +184,6 @@ void test ()
     }
 
   mf.vmult (ref, in);
-  MPI_Barrier (MPI_COMM_WORLD);
 
   for (unsigned int parallel_option = 0; parallel_option < 3; ++parallel_option)
     {
@@ -213,7 +212,6 @@ void test ()
       data.tasks_block_size = 3;
       mf_data.reinit (dof, constraints, quad, data);
       MatrixFreeTest<dim, fe_degree, number> mf (mf_data);
-      MPI_Barrier(MPI_COMM_WORLD);
       deallog << "Norm of difference:";
 
       // run 10 times to make a possible error more

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.