File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -1808,6 +1808,10 @@ endif
1808
1808
# -------------------------------------------------------------------------------
1809
1809
# NUMA
1810
1810
# -------------------------------------------------------------------------------
1811
+ ifeq ($(ESMF_NUMA ) ,OFF)
1812
+ ESMF_NUMA =
1813
+ endif
1814
+
1811
1815
ifeq ($(ESMF_NUMA ) ,ON)
1812
1816
ESMF_NUMA = standard
1813
1817
endif
Original file line number Diff line number Diff line change @@ -606,6 +606,41 @@ \subsubsection{MOAB}
606
606
607
607
\end {description }
608
608
609
+ \subsubsection {NUMA }
610
+ \label {sec:NUMA }
611
+
612
+ The LibNUMA API for Non Uniform Memory Access
613
+ (\htmladdnormallink {NUMA}{https://halobates.de/numaapi3.pdf})
614
+ can be used to discover the NUMA architecture at run-time.
615
+
616
+ \begin {description }
617
+
618
+ \item [ESMF\_ NUMA] Possible values: {\tt "ON" }, {\tt "standard" }, {\tt "OFF" } (default).
619
+
620
+ \begin {description }
621
+ \item [{\tt "ON" }/{\tt "standard" }] The NUMA dependent code inside of ESMF will
622
+ be enabled.
623
+ The {\tt ESMF\_ NUMA\_ LIBS} environment variable will be set to
624
+ {\tt "-lnuma" }.
625
+
626
+ \item [{\tt "OFF" } (default)] Disables NUMA dependent code.
627
+ \end {description }
628
+
629
+ \item [ESMF\_ NUMA\_ INCLUDE] Typically not needed. (no default).
630
+
631
+ Specifies the path where the NUMA header files are located.
632
+
633
+ \item [ESMF\_ NUMA\_ LIBPATH] Typically not needed. (no default).
634
+
635
+ Specifies the path where the NUMA library file is located.
636
+
637
+ \item [ESMF\_ NUMA\_ LIBS] Typical value: {\tt "-lnuma" }.
638
+
639
+ Specifies the linker directives needed to link the NUMA library to
640
+ the application.
641
+
642
+ \end {description }
643
+
609
644
\subsubsection {NVML }
610
645
\label {sec:NVML }
611
646
@@ -634,7 +669,7 @@ \subsubsection{NVML}
634
669
635
670
Specifies the path where the NVML library file is located.
636
671
637
- \item [ESMF\_ NVML\_ LIBS] Typical value: {\tt "-lnvidia-ml" } (no default) .
672
+ \item [ESMF\_ NVML\_ LIBS] Typical value: {\tt "-lnvidia-ml" }.
638
673
639
674
Specifies the linker directives needed to link the NVML library to
640
675
the application.
You can’t perform that action at this time.
0 commit comments