We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c411a79 commit df53433Copy full SHA for df53433
components/homme/cmake/machineFiles/anvil.cmake
@@ -20,7 +20,14 @@ ENDIF()
20
# Set kokkos arch, to get correct avx flags
21
SET (Kokkos_ARCH_BDW ON CACHE BOOL "")
22
23
-SET (WITH_PNETCDF FALSE CACHE FILEPATH "")
+EXECUTE_PROCESS(COMMAND pnetcdf-config --prefix
24
+ RESULT_VARIABLE PNCCONFIG_RESULT
25
+ OUTPUT_VARIABLE PNCCONFIG_OUTPUT
26
+ ERROR_VARIABLE PNCCONFIG_ERROR
27
+ OUTPUT_STRIP_TRAILING_WHITESPACE
28
+)
29
+SET (PnetCDF_PATH "${PNCCONFIG_OUTPUT}" CACHE STRING "")
30
+
31
#
32
# anvil module system doesn't set environment variables, but will put
33
# nc-config in our path. anvil seperates C and Fortran libraries,
0 commit comments