[Dune] Problems with examplegrid7.dgf

Andreas Dedner dedner at mathematik.uni-freiburg.de
Mon Jul 31 16:16:08 CEST 2006


Das Problem scheint aufzutrehten, wenn MPIEND (und somit MPI_FINALIZE)
vor dem Gitterdestruktor aufgerufen wird. Warum das gerade jetzt und
nicht schon immer (und nie) auftaucht weiss ich auch nicht. Mit dem
neuen MPI Handling (MpiHelper) tritt das Problem glaub ich nicht mehr
auf, da hierbei MPI_FINALIZE wirklich am ende des Codes aufgerufen wird.
Alternativ mit dem alten MPI Handling:
MPISTART {
GridPtr....
} MPIEND

Patrick Leidenberger wrote:
> Hi,
> 
> I have some troubles with the dgf parser. My program reads a dgf file with
> 
> Dune::GridPtr<GridType>
>   alusimplexgrid("./grids/cube.dgf",MPI_COMM_WORLD);
> 
> The cube.dgf is the example7.dgf from
> http://www.dune-project.org/doc/doxygen/dune-grid-html/group__DuneGridFormatParser.html
> 
> So far that works.
> 
> But if I change the number of cells in line 14 from 2 5 10, lets say to
> 10 10 10 I get a segmentation fault:
> 
> p0_32535:  p4_error: interrupt SIGSEGV: 11
> Segmentation fault
> 
> 
> Can someone help me?
> 
> Thank's a lot
> 
> Patrick
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://www.dune-project.org/cgi-bin/mailman/listinfo/dune




More information about the Dune mailing list