Skip to content

build support for gaea c6 #792

Closed
Closed
@jswhit2

Description

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)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions