Skip to content

Commit

Permalink
changes to compile on AWS (#64)
Browse files Browse the repository at this point in the history
Add a modulefile to be used when compile on AWS.
Resolves #65
  • Loading branch information
weihuang-jedi authored Apr 25, 2024
1 parent f9b33ae commit a876e1f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions modulefiles/gfsutils_noaacloud.intel.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
help([[
Build environment for GFS utilities on NOAA Cloud
]])

prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")
prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0"
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.3.0"
local cmake_ver=os.getenv("cmake_ver") or "3.20.1"

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))
load(pathJoin("cmake", cmake_ver))

load("gfsutils_common")

whatis("Description: GFS utilities environment on NOAA Cloud with Intel Compilers")

0 comments on commit a876e1f

Please sign in to comment.