[Dune] UG grid problem: ID overflow DDD_HdrConstructor

Oliver Sander sander at igpm.rwth-aachen.de
Mon Nov 26 02:17:53 CET 2012


Am 26.11.2012 12:35, schrieb Markus Blatt:
> 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?
This patch fixes a bug, regardless of whether it helps Eike here or not.
I have just applied it.  Thanks Markus!

--
Oliver
>
> Markus
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20121126/c423623d/attachment.htm>


More information about the Dune mailing list