Skip to content

Commit

Permalink
add module for AWS (NOAA-EMC#934)
Browse files Browse the repository at this point in the history
* add module for AWS

* comment that this is for NOAA Cloud
  • Loading branch information
weihuang-jedi committed Apr 27, 2024
1 parent be0410e commit 88493f3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions modulefiles/noaacloud.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
help([[
Load environment to build UPP on NOAA Cloud
]])


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

stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0"
load(pathJoin("stack-intel", stack_intel_ver))

stack_impi_ver=os.getenv("stack_impi_ver") or "2021.3.0"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

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

load("upp_common")

setenv("CC","mpiicc")
setenv("CXX","mpiicpc")
setenv("FC","mpiifort")

whatis("Description: UPP build environment")

0 comments on commit 88493f3

Please sign in to comment.