[Dune] UG grid problem: ID overflow DDD_HdrConstructor

Eike Mueller E.Mueller at bath.ac.uk
Fri Nov 23 18:53:56 CET 2012


Dear dune-list,

I'm having trouble with using the parallel DUNE grid, and I keep getting the

DDD [000] FATAL 02221: global ID overflow DDD_HdrConstructor

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.
I generate the grid using the UG grid factory by reading from a .dgf file with the attached classes.
If I make the grid smaller, the problem eventually disappears but I get a segmentation fault.
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.

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?

Thanks a lot,

Eike

[1] 
http://www.dune-project.org/flyspray/index.php?do=details&task_id=250&string=UG&project=1&type[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=



-- 
Dr Eike Mueller
Research Officer

Department of Mathematical Sciences
University of Bath
Bath BA2 7AY, United Kingdom

+44 1225 38 5633
e.mueller at bath.ac.uk
http://people.bath.ac.uk/em459/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sphericalboundarysegment.hh
Type: text/x-c++hdr
Size: 3207 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20121123/3ff41b2b/attachment.hh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sphericalgridgenerator.hh
Type: text/x-c++hdr
Size: 10982 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20121123/3ff41b2b/attachment-0001.hh>


More information about the Dune mailing list