[Dune] [#1094] Compiling Generic Reference Elements Requires too much Memory (Attachment added)

Dune flyspray at dune-project.org
Wed May 9 20:55:05 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1094 - Compiling Generic Reference Elements Requires too much Memory
User who did this - Martin Nolte (nolte)

----------
The attached patch completely removes the template metaprograms for GenericReferenceElement<void,dim> at the expense of additional runtime complexity. Compilation is now extremely fast.

In 8d, the creation of the reference elements (which previously could not even be compiled) now takes around 60s (on my desktop machine), their memory demand is around 250M.

gcc still does not compile 10d with its default settings due to heavy template instantiation. For the void reference element, this could be circumvented by a specialization of the GenericReferenceElementContainer.

I should emphasize that, due to the required mappings (method global), the non-void reference elements still require a low of memory to compile. With gcc-4.6, the GenericReferenceElementContainer<double,5> requires more than 6G to compile (on my 64-bit desktop machine).
----------

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1094#comment3498

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list