]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add another LAC unity file.
authorDavid Wells <wellsd2@rpi.edu>
Sun, 28 Jan 2018 22:11:49 +0000 (17:11 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 3 Feb 2018 18:22:42 +0000 (13:22 -0500)
The current unity time and memory consumption is:p
debug:
unity 0: 73s 2.6 GB
unity 1: 68s 2.9 GB
release:
unity 0: 104s 2.6 GB
unity 1:  94s 3.2 GB

with three unity files we lower the high water mark for memory and require
slightly less compilation time:

debug:
unity 0: 63s 2.4 GB
unity 1: 37s 1.9 GB
unity 2: 39s 1.8 GB
release:
unity 0:  87s 2.2 GB
unity 1:  51s 2.0 GB
unity 2:  57s 1.9 GB

source/lac/CMakeLists.txt

index e6d56c811b167a14a6fca7e780db98bd36c8952b..defcbb0fb2b69f6346183214ee5920e62e673fa0 100644 (file)
@@ -149,7 +149,7 @@ IF(DEAL_II_WITH_CUDA)
 ENDIF()
 
 # determined by profiling
-SET(_n_includes_per_unity_file 30)
+SET(_n_includes_per_unity_file 20)
 
 IF(DEAL_II_UNITY_BUILD)
   # sort files so that the petsc and trilinos files are not together

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.