#666 Refinement of parallel UGGrid leads to assertion failure

Metadata

Property Value
Reported by Oliver Sander (oliver.sander@tu-dresden.de)
Reported at Nov 20, 2009 17:27
Type Bug Report
Version 1.2
Operating System Unspecified / All
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Apr 16, 2010 14:41
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Apr 16, 2010 14:41
Closed in version Unknown
Resolution Fixed
Comment In dune-grid revision 6609.

Description

When running the parallel ug test with two processes I get an assertion failure during global refinement. The assertion is in identif.c:1100 (in ug) and reads

if (VEC_DEF_IN_OBJ_OF_GRID(theGrid,SIDEVEC)) { IdentifySideVector(theElement,theNeighbor,SonList[j],SonSides[j]); /* this is not debugged */ assert(0); }

Stefan: Does this mean I should remove the assertion and hope for the best?

I removed the assertion and hoped for the best. Now the test produces considerable more output and crashes eventually with a segfault in ifuse.c:154 (ug, again). The code in question:

if (DDD_GetOption(OPT_IF_REUSE_BUFFERS) == OPT_OFF) { ForIF(ifId,ifHead) { BufferFree(ifHead->bufIn); BufferFree(ifHead->bufOut); } }

Does somebody who knows parallel UG have any ideas?

Thanks, Oliver