forked from NOAA-EMC/GSI-utils
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgsiutils_ursa.intel.lua
More file actions
28 lines (20 loc) · 914 Bytes
/
Copy pathgsiutils_ursa.intel.lua
File metadata and controls
28 lines (20 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
help([[
]])
prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.9.2/envs/ue-oneapi-2024.2.1/install/modulefiles/Core")
local python_ver=os.getenv("python_ver") or "3.11.7"
local stack_oneapi_ver=os.getenv("stack_oneapi_ver") or "2024.2.1"
local stack_intel_oneapi_mpi_ver=os.getenv("stack_intel_oneapi_mpi_ver") or "2021.13"
local cmake_ver=os.getenv("cmake_ver") or "3.27.9"
local prod_util_ver=os.getenv("prod_util_ver") or "2.1.1"
load(pathJoin("stack-oneapi", stack_oneapi_ver))
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver))
load(pathJoin("python", python_ver))
load(pathJoin("cmake", cmake_ver))
load("gsiutils_common")
load(pathJoin("prod_util", prod_util_ver))
pushenv("CFLAGS", "-xHOST")
pushenv("FFLAGS", "-xHOST")
setenv("CC","mpiicc")
setenv("CXX","mpiicpc")
setenv("FC","mpiifort")
whatis("Description: GSI utilities environment on Hera with Intel Compilers")