<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Eike,<br>
sorry for the late reply. AFAIK replacing the id type is UG has
hardly been tested,<br>
and I am not surprised that people find bugs. Can you please send
me a test<br>
program and I promise to have a look.<br>
best,<br>
Oliver<br>
<br>
Am 23.11.2012 18:53, schrieb Eike Mueller:
<blockquote cite="mid:50AFB834.7090805@bath.ac.uk" type="cite">Dear
dune-list,
<br>
<br>
I'm having trouble with using the parallel DUNE grid, and I keep
getting the
<br>
<br>
DDD [000] FATAL 02221: global ID overflow DDD_HdrConstructor
<br>
<br>
error. My grid is not very large, I use 6*2^5 = 6144 elements on 6
processors. I had a look at Flyspray Task #250 [1], and followed
the instructions there, in particular I set -DDDD_GID_T=long and
use 20 bits for the processor part (--with-ddd-maxprocbits=20). I
recompiled both UG and Dune (version 2.2) with these flags, and
also recompiled my own code with them. I checked that long is
really 8 bytes (=64 byte) on the machine I'm using, but I still
get the error.
<br>
I generate the grid using the UG grid factory by reading from a
.dgf file with the attached classes.
<br>
If I make the grid smaller, the problem eventually disappears but
I get a segmentation fault.
<br>
I should also say that on a different machine, where I did not
change the maxprocbit and GID_T, it all works fine for small
grids.
<br>
<br>
Is there anything I might have overlooked? For example, do I have
to be careful with the datatypes I use when constructing the grid
with the factory?
<br>
<br>
Thanks a lot,
<br>
<br>
Eike
<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://www.dune-project.org/flyspray/index.php?do=details&task_id=250&string=UG&project=1&type">http://www.dune-project.org/flyspray/index.php?do=details&task_id=250&string=UG&project=1&type</a>[0]=&sev[0]=&pri[0]=&due[0]=&reported[0]=&cat[0]=&status[0]=open&percent[0]=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=<br>
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<br>
</body>
</html>