Skip to content

Commit

Permalink
Enable Gaea C6 support for hafs_post
Browse files Browse the repository at this point in the history
  • Loading branch information
BijuThomas-NOAA committed Aug 16, 2024
1 parent 1c2f875 commit 7d98b42
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions modulefiles/gaeaC6.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
help([[
Load environment to build UPP on Jet
]])


prepend_path("MODULEPATH", "/autofs/ncrc-svm1_proj/epic/spack-stack/spack-stack-1.6.0/envs/unified-env-c6/install/modulefiles/Core")

PrgEnv_intel_ver=os.getenv("PrgEnv_intel_ver") or "8.5.0"
load(pathJoin("PrgEnv-intel", PrgEnv_intel_ver))

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

stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29"
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver))

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

load("upp_common")

setenv("CC","cc")
setenv("CXX","CC")
setenv("FC","ftn")

whatis("Description: UPP build environment")
3 changes: 3 additions & 0 deletions tests/detect_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ case $(hostname -f) in
gaea5[1-8]) MACHINE_ID=gaea ;; ### gaea51-58
gaea5[1-8].ncrc.gov) MACHINE_ID=gaea ;; ### gaea51-58

gaea6[1-8]) MACHINE_ID=gaeaC6 ;; ### gaea61-68
gaea6[1-8].ncrc.gov) MACHINE_ID=gaeaC6 ;; ### gaea61-68

hfe0[1-9]) MACHINE_ID=hera ;; ### hera01-09
hfe1[01]) MACHINE_ID=hera ;; ### hera10-11
hecflow01) MACHINE_ID=hera ;; ### heraecflow01
Expand Down

0 comments on commit 7d98b42

Please sign in to comment.