[Dune] UG grid problem: ID overflow DDD_HdrConstructor

Markus Blatt markus at dr-blatt.de
Mon Nov 26 12:35:21 CET 2012


On Mon, Nov 26, 2012 at 10:57:41AM +0000, Eike Mueller wrote:
> thank you very much for your replies. As my email says, I already
> had a look at FS #250, and followed the instructions there, but this
> does not help.
> 

Sorry, I overlooked that part in your original post.

Nevertheless, judging from ug/parallel/ddd/mgr/objmgr.c this seems to
have no effect on the problem, as problem occurs in line 527
(MakeUnique(theIdCount) <= MakeUnique(theIdCount-1), where theIdCount
in my version is an int and MAX_PROCBITS_IN_GID is defined to 20
according to your configuration. This leaves just 11 bits for the id.

Might this overrun in your case?

Maybe you can circumvent it with the attached (untested) patch?

Markus
-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddd.patch
Type: text/x-diff
Size: 322 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20121126/ea6380fe/attachment.patch>


More information about the Dune mailing list