> ---BEGIN---METHOD B---
>
> nas...@nasser-laptop:~/deal.II/examples/step-17$ mpiexec -np 2 ./step-17
> Cycle 0:
>    Number of active cells:       64
> Cycle 0:
>    Number of active cells:       64

Do you really get this output twice? It should really only be printed once 
by the pcout object in this program. I suspect this has something to do 
with the problem.

Separately, can you try the attached patch for 
lac/source/petsc_parallel_vector.cc and run the program again? Please 
forward the output, maybe this sheds some light on what's going on.

Best
 W.

===================================================================
--- petsc_parallel_vector.cc    (revision 20002)
+++ petsc_parallel_vector.cc    (working copy)
@@ -165,7 +165,8 @@
                         &vector);
       AssertThrow (ierr == 0, ExcPETScError(ierr));
 
-      Assert (size() == n, ExcInternalError());
+      Assert (size() == n,
+             ExcDimensionMismatch (size(), n));
     }
 
   }
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to