]> https://gitweb.dealii.org/ - dealii.git/commit
Split fe_values.cc into more instantiation files.
authorDavid Wells <wellsd2@rpi.edu>
Mon, 29 Jan 2018 03:59:04 +0000 (22:59 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 3 Feb 2018 18:22:43 +0000 (13:22 -0500)
commitaab5546309c93abfe6bf2334de991a99a3ab6634
tree8fa6d748b6f0305b78e8db8fa6a96003d45c08c6
parent5e1122b14aa175c27f5db232d8491610edbebfda
Split fe_values.cc into more instantiation files.

This is currently the most expensive file to compile: with GCC 7.2 and all
libraries but adol-c installed, this file requires 4.5 GB and 170s to (just for
one of two instantiation files). This commit adds four additional instantiation
files to lower the memory requirements below 3 GB per translation unit.

Here is some profiling information:

debug, master:
165s, 4 GB
170s, 4.5 GB
(335 s total)

release, master:
182s, 3.6 GB
194s, 3.9 GB
(376s total)

debug, feature:
37s, 1.7 GB
63s, 2.6 GB
31s, 1.5 GB
87s, 2.7 GB
58s, 2.6 GB
79s, 2.7 GB
(355s total)

release, feature:
 37s, 1.5 GB
 71s, 2.4 GB
 32s, 1.5 GB
103s, 2.6 GB
 69s, 2.3 GB
 96s, 2.6 GB
(408s total)
source/fe/CMakeLists.txt
source/fe/fe_values.cc
source/fe/fe_values_inst3.cc [new file with mode: 0644]
source/fe/fe_values_inst4.cc [new file with mode: 0644]
source/fe/fe_values_inst5.cc [new file with mode: 0644]
source/fe/fe_values_inst6.cc [new file with mode: 0644]

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.