forked from NOAA-EMC/GSI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modifications for acorn (wcoss2 test system) build using intel19 spac…
…k-stack (NOAA-EMC#447)
- Loading branch information
1 parent
e4fc198
commit 91ca898
Showing
6 changed files
with
64 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
help([[ | ||
Load common modules to build GSI on all machines | ||
]]) | ||
|
||
local netcdf_ver=os.getenv("netcdf_ver") or "4.7.4" | ||
|
||
local bufr_ver=os.getenv("bufr_ver") or "11.7.0" | ||
local bacio_ver=os.getenv("bacio_ver") or "2.4.1" | ||
local w3emc_ver=os.getenv("w3emc_ver") or "2.9.1" | ||
local sp_ver=os.getenv("sp_ver") or "2.3.3" | ||
local ip_ver=os.getenv("ip_ver") or "3.3.3" | ||
local sigio_ver=os.getenv("sigio_ver") or "2.3.2" | ||
local sfcio_ver=os.getenv("sfcio_ver") or "1.4.1" | ||
local nemsio_ver=os.getenv("nemsio_ver") or "2.5.2" | ||
local wrf_io_ver=os.getenv("wrf_io_ver") or "1.2.0" | ||
local ncio_ver=os.getenv("ncio_ver") or "1.1.2" | ||
local crtm_ver=os.getenv("crtm_ver") or "2.4.0" | ||
local ncdiag_ver=os.getenv("ncdiag_ver") or "1.1.1" | ||
|
||
load("netcdf-c") | ||
load("netcdf-fortran") | ||
|
||
load("bufr/11.7.0") | ||
load("bacio") | ||
load("w3emc") | ||
load("sp") | ||
load("ip/3.3.3") | ||
load("sigio") | ||
load("sfcio") | ||
load("nemsio") | ||
load("wrf-io") | ||
load("ncio") | ||
load("crtm") | ||
load(pathJoin("gsi-ncdiag",ncdiag_ver)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,21 @@ | ||
help([[ | ||
]]) | ||
|
||
local PrgEnv_intel_ver=os.getenv("PrgEnv_intel_ver") or "8.1.0" | ||
local intel_ver=os.getenv("intel_ver") or "19.1.3.304" | ||
local craype_ver=os.getenv("craype_ver") or "2.7.8" | ||
local cray_mpich_ver=os.getenv("cray_mpich_ver") or "8.1.9" | ||
local cmake_ver= os.getenv("cmake_ver") or "3.20.2" | ||
local python_ver=os.getenv("python_ver") or "3.8.6" | ||
local prod_util_ver=os.getenv("prod_util_ver") or "2.0.10" | ||
|
||
prepend_path("MODULEPATH", "/lfs/h1/emc/nceplibs/noscrub/hpc-stack/libs/hpc-stack/modulefiles/stack") | ||
local hpc_ver=os.getenv("hpc_ver") or "1.2.0" | ||
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "19.1.3.304" | ||
local hpc_cray_mpich_ver=os.getenv("hpc_cray_mpich_ver") or "8.1.9" | ||
|
||
load(pathJoin("PrgEnv-intel", PrgEnv_intel_ver)) | ||
load(pathJoin("intel", intel_ver)) | ||
load(pathJoin("craype", craype_ver)) | ||
load(pathJoin("cray-mpich", cray_mpich_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
load(pathJoin("python", python_ver)) | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
load(pathJoin("hpc", hpc_ver)) | ||
load(pathJoin("hpc-intel", hpc_intel_ver)) | ||
load(pathJoin("hpc-cray-mpich", hpc_cray_mpich_ver)) | ||
|
||
load("gsi_common") | ||
|
||
load("PrgEnv-intel") | ||
load("intel") | ||
load("craype") | ||
load("cray-mpich") | ||
load("cmake") | ||
|
||
prepend_path("MODULEPATH", "/lfs/h1/emc/nceplibs/noscrub/Mark.Potts/spack-stack/spack-stack-1.4.1/envs/unified-dev-19/install/modulefiles/Core") | ||
load("stack-intel") | ||
load("stack-cray-mpich") | ||
load("prod-util") | ||
load("gsi_common_wcoss2") | ||
|
||
setenv("CC", "cc") | ||
setenv("CXX", "CC") | ||
setenv("FC", "ftn") | ||
pushenv("GSI_BINARY_SOURCE_DIR", "/lfs/h2/emc/global/noscrub/emc.global/FIX/fix/gsi/20230601") | ||
|
||
whatis("Description: GSI environment on WCOSS2") | ||
whatis("Description: GSI environment on Hera with Intel Compilers") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters