Commit 9de5563 1 parent d90e290 commit 9de5563 Copy full SHA for 9de5563
File tree 1 file changed +84
-0
lines changed
1 file changed +84
-0
lines changed Original file line number Diff line number Diff line change
1
+ ************
2
+ Build System
3
+ ************
4
+
5
+ Microphysics leverages the AMReX build system. GNU make is the
6
+ primary build system, but CMake is partially supported. Here we focus
7
+ on the GNU make build system.
8
+
9
+ .. tip ::
10
+
11
+ All of the build variables supported by the AMReX build system can
12
+ be used with Microphysics, for example:
13
+
14
+ * ``COMP `` : the compiler system to use
15
+ * ``USE_CUDA `` : build for NVIDIA GPUs with CUDA
16
+ * ``USE_HIP `` : build for AMD GPUs with HIP/ROCm
17
+
18
+ See the `AMReX GNU Make Docs
19
+ <https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html> `_
20
+
21
+ There are two main makefile stubs:
22
+
23
+ * ``Make.Microphysics ``
24
+
25
+ * ``Make.Microphysics_extern ``
26
+
27
+ additionally directories have their own ``Make.package `` files that specify
28
+ the files needed for the build.
29
+
30
+
31
+ AMREX_HOME
32
+ MICROPHYSICS_HOME
33
+
34
+
35
+ Controling choice of physics
36
+ ============================
37
+
38
+ USE_CONDUCTIVITY
39
+ USE_NEUTRINOS
40
+ USE_SCREENING
41
+ USE_RATES
42
+ USE_REACT
43
+ USE_NONAKA_PLOT
44
+
45
+ USE_SIMPLIFIED_SDC
46
+ USE_TRUE_SDC
47
+
48
+ SCREEN_METHOD
49
+
50
+ USE_AUX_THERMO
51
+
52
+ EOS_DIR
53
+ OPACITY_DIR
54
+ NETWORK_DIR
55
+ CONDUCTIVITY_DIR
56
+
57
+ GENERAL_NET_INPUTS
58
+ NETWORK_INPUTS
59
+
60
+ USE_NSE_TABLE
61
+ USE_NET_NET
62
+
63
+ USE_RAD
64
+
65
+ Targets
66
+ =======
67
+
68
+ nettables
69
+ table
70
+ nsetable
71
+ build_status
72
+ test_extern_params
73
+ net_prop_debug
74
+
75
+ clean
76
+
77
+
78
+ runtime parameters
79
+
80
+ buildInfo
81
+
82
+
83
+ Querying the build variables
84
+ ============================
You can’t perform that action at this time.
0 commit comments