[Dune] Parallel CG Solver

Arne Rekdal arne at stud.ntnu.no
Mon Nov 24 12:51:07 CET 2008


I am using this constructor already.

The file is attached (it depends on dune-grid, dune-istl, and  
dune-disc). Now it uses the UniversalGlobalMapper, and prints the  
output as in the previous post. If I instead change it to use the  
grid.globalIdSet().id it produces MPI errors.


Thanks!



Arne


> Hi,
>
>
> looks like you are using the wrong constructor of yaspgrid and
> therefore using 4 different sequential grids.
>
> Try
>
> YaspGrid(MPI_COMM_WOLRD, length, size, periodic,overlap)
>
> instead of
>
> YaspGrid(length, size, periodic,overlap)
>
> Markus
>
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dune_parallel_matrix.cc
Type: text/x-c++src
Size: 17921 bytes
Desc: not available
Url : https://lists.dune-project.org/pipermail/dune/attachments/20081124/b76d6ff6/attachment.cc 


More information about the Dune mailing list