You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/build_guide/include/appendecies/cmake_config.rst.inc
+24-22
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@ For just the C++ compiled Spheral a number of TPLs are required:
28
28
- Polyclipper
29
29
- Conduit
30
30
- Axom
31
+
- Adiak
32
+
- Caliper
31
33
32
34
There are also a number of libraries / python packages that are required for compiling the python bindings and executing Spheral at runtime:
33
35
@@ -66,58 +68,58 @@ OpenMP and MPI support is handled through BLT. Use the option flags ``-DENABLE_
66
68
CMake variables
67
69
--------------------
68
70
69
-
In this section we list the CMake variables that can be tweaked for a Spheral build. Where appropriate the options are listed, with the default value in *italics*.
71
+
In this section we list the CMake variables that can be tweaked for a Spheral build. Where appropriate the options are listed, with the default value in **bold**.
Choose the type of build -- for more information see the `CMake documentation <https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html>`_.
73
75
74
76
``CMAKE_INSTALL_PREFIX``
75
77
The top-level path for installing Spheral include files, libraries, and any Python modules or documentation.
76
78
77
-
``ENABLE_CXXONLY`` (On, *Off*)
79
+
``ENABLE_CXXONLY`` (On, **Off**)
78
80
Do not build python wrappers for Spheral.
79
81
80
-
``ENABLE_STATIC_CXXONLY`` (On, *Off*)
82
+
``ENABLE_STATIC_CXXONLY`` (On, **Off**)
81
83
Do not build python wrappers for Spheral. Build and export static library files for Spheral.
82
84
83
-
``ENABLE_SHARED`` (*On*, Off)
85
+
``ENABLE_SHARED`` (**On**, Off)
84
86
Build Spheral C++ libraries as shared libraries.
85
87
86
-
``ENABLE_DEV_BUILD`` (On, *Off*)
88
+
``ENABLE_DEV_BUILD`` (On, **Off**)
87
89
Builds separate internal C++ libraries for faster code development.
88
90
89
91
``<TPL-Name-Here>_DIR``
90
92
Directory of previously built TPL.
91
93
92
-
``ENABLE_STATIC_TPL`` (On, *Off*)
94
+
``ENABLE_STATIC_TPL`` (On, **Off**)
93
95
Link static libraries instead of shared for HDF5 and Conduit.
94
96
95
-
``ENABLE_OPENMP`` (*On*, Off)
97
+
``ENABLE_OPENMP`` (**On**, Off)
96
98
Support for OpenMP.
97
99
98
-
``ENABLE_MPI`` (*On*, Off)
100
+
``ENABLE_MPI`` (**On**, Off)
99
101
Support for MPI.
100
102
101
-
``ENABLE_1D`` (*On*, Off)
103
+
``ENABLE_1D`` (**On**, Off)
102
104
Build Spheral with 1D support.
103
105
104
-
``ENABLE_2D`` (*On*, Off)
106
+
``ENABLE_2D`` (**On**, Off)
105
107
Build Spheral with 2D support.
106
108
107
-
``ENABLE_3D`` (*On*, Off)
109
+
``ENABLE_3D`` (**On**, Off)
108
110
Build Spheral with 3D support.
109
111
110
-
``ENABLE_ANEOS`` (*On*, Off)
112
+
``ENABLE_ANEOS`` (**On**, Off)
111
113
Install the ANEOS (Analytics Equation of State) package along with the Spheral interface to it. This is a legacy equation of state frequently used for geophysical materials. See descriptions in the `iSALE <https://github.com/isale-code/M-ANEOS>`_ documentation.
112
114
113
-
``ENABLE_HELMHOLTZ`` (*On*, Off)
115
+
``ENABLE_HELMHOLTZ`` (**On**, Off)
114
116
Compile the included Helmholtz equation of state, typically used in astrophysical calculations. See a discussion `here <http://cococubed.asu.edu/code_pages/eos.shtml>`_.
115
117
116
-
``ENABLE_OPENSUBDIV`` (*On*, Off)
118
+
``ENABLE_OPENSUBDIV`` (**On**, Off)
117
119
Install the Opensubdiv library along with the Spheral interface to it. Opensubdiv is a `Pixar provided library <https://github.com/PixarAnimationStudios/OpenSubdiv>`_, which Spheral uses to implement refinement of polyhedra for some specialized problem generation capabilities.
118
120
119
-
``ENABLE_TIMER`` (*On*, Off)
120
-
Enable timer information from Spheral.
121
+
``ENABLE_TIMER`` (On, **Off**)
122
+
Enable Caliper timer information for Spheral.
121
123
122
124
``DBC_MODE`` (None, All, Pre)
123
125
Set the compile time design by contract (DBC) mode for Spheral. Design by contract statements are very useful developer tools, whereby the developer can insert tests in the code as they write it. These statements are both useful for tracking down bugs with fine-grained testing throughout the code, as well as useful documentation in the code about what sort of conditions are expected to hold.
@@ -138,23 +140,23 @@ In this section we list the CMake variables that can be tweaked for a Spheral bu
138
140
139
141
It is worth noting ``DBC_MODE=All`` is quite expensive at run time (of order 4x more), so this is not intended to be active for a release/production compilation of Spheral.
140
142
141
-
``ENABLE_WARNINGS`` (On, *Off*)
143
+
``ENABLE_WARNINGS`` (On, **Off**)
142
144
Enable compiler warnings.
143
145
144
-
``ENABLE_BOUNDCHECKING`` (On, *Off*)
146
+
``ENABLE_BOUNDCHECKING`` (On, **Off**)
145
147
If building with the Gnu compilers enable STL bound checking by passing -D_GLIBCXX_DEBUG=1 to the compiler.
146
148
Note, this is a very expensive option at runtime!
147
149
148
-
``ENABLE_NAN_EXCEPTIONS`` (On, *Off*)
150
+
``ENABLE_NAN_EXCEPTIONS`` (On, **Off**)
149
151
Raise exceptions in the C++ code when floating-point exceptions occur. Gnu compilers only.
150
152
151
-
``ENABLE_DOCS`` (On, *Off*)
153
+
``ENABLE_DOCS`` (On, **Off**)
152
154
Choose whether or not to build this documentation.
153
155
154
156
``SPHINX_EXECUTABLE``
155
157
Specify where the Sphinx executable is that should be used to build documentation. If not given, assumes the Spheral built Sphinx will be used.
156
158
157
-
``SPHINX_THEME`` (*sphinx_rtd_theme*)
159
+
``SPHINX_THEME`` (**sphinx_rtd_theme**)
158
160
Give the Sphinx theme to use when generating documentation. Default based on read the docs theme.
0 commit comments