Skip to content

Commit

Permalink
Update hera build module following the example of the
Browse files Browse the repository at this point in the history
UFSWM.

Fixes ufs-community#879.
  • Loading branch information
GeorgeGayno-NOAA committed Aug 19, 2024
1 parent 4737e07 commit baf6edd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modulefiles/build.hera.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ load(pathJoin("stack-intel", stack_intel_ver))
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

load("gnu")
load("intel/2023.2.0")

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

Expand Down Expand Up @@ -62,4 +65,10 @@ load(pathJoin("esmf", esmf_ver))
nco_ver=os.getenv("nco_ver") or "5.0.6"
load(pathJoin("nco", nco_ver))

setenv("I_MPI_CC", "icx")
setenv("I_MPI_FC", "ifx")

setenv("CC", "mpicc")
setenv("FC", "mpifc")

whatis("Description: UFS_UTILS build environment")

0 comments on commit baf6edd

Please sign in to comment.