Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build support for gaea c6 #792

Open
jswhit2 opened this issue Sep 20, 2024 · 0 comments
Open

build support for gaea c6 #792

jswhit2 opened this issue Sep 20, 2024 · 0 comments

Comments

@jswhit2
Copy link
Contributor

jswhit2 commented Sep 20, 2024

Need the ability to build on both c5 and c6. Here's a diff to get it work compile on c6 (but this breaks c5). Probably need two separate module files

diff --git a/modulefiles/gsi_gaea.intel.lua b/modulefiles/gsi_gaea.intel.lua
index 799822caa..9f36d6be0 100644
--- a/modulefiles/gsi_gaea.intel.lua
+++ b/modulefiles/gsi_gaea.intel.lua
@@ -1,11 +1,11 @@
 help([[
 ]])

-prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/modulefiles/Core")
+prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.6.0/envs/gsi-addon/install/modulefiles/Core")

 local stack_python_ver=os.getenv("stack_python_ver") or "3.11.6"
-local stack_intel_ver=os.getenv("stack_intel_ver") or "2023.1.0"
-local stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.25"
+local stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0"
+local stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "8.1.29"
 local cmake_ver=os.getenv("cmake_ver") or "3.23.1"
 local prod_util_ver=os.getenv("prod_util_ver") or "2.1.1"

@@ -17,11 +17,11 @@ load(pathJoin("cmake", cmake_ver))
 load("gsi_common")
 load(pathJoin("prod_util", prod_util_ver))

-local MKLROOT="/opt/intel/oneapi/mkl/2022.0.2/"
+local MKLROOT="/opt/intel/oneapi/mkl/2023.2.0/"
 prepend_path("LD_LIBRARY_PATH",pathJoin(MKLROOT,"lib/intel64"))
 pushenv("MKLROOT", MKLROOT)

-pushenv("GSI_BINARY_SOURCE_DIR", "/gpfs/f5/ufs-ard/world-shared/GSI_data/fix/gsi/20240208")
+pushenv("GSI_BINARY_SOURCE_DIR", "/gpfs/f6/drsa-precip4/world-shared/Jeffrey.S.Whitaker/GSI_data/fix/gsi/20240208")

 setenv("CC","cc")
 setenv("FC","ftn")
lines 1-33/33 (END)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant