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.
- Loading branch information
1 parent
33ff391
commit c12cbf7
Showing
9 changed files
with
111 additions
and
124 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 |
---|---|---|
@@ -1,32 +1,30 @@ | ||
help([[ | ||
]]) | ||
|
||
load("cmake/3.22.0") | ||
load("python/3.7.9") | ||
load("ncarenv/1.3") | ||
load("gnu/10.1.0") | ||
load("mpt/2.22") | ||
load("ncarcompilers/0.5.0") | ||
unload("netcdf") | ||
unload("ncarenv/1.3") | ||
unload("intel/19.1.1") | ||
unload("ncarcompilers/0.5.0") | ||
unload("mpt/2.25") | ||
unload("netcdf/4.8.1") | ||
|
||
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/hpc-stack/gnu10.1.0/modulefiles/stack") | ||
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/spack-stack/cheyenne/spack-stack-1.4.1/envs/unified-env/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/glade/work/jedipara/cheyenne/spack-stack/modulefiles/misc") | ||
|
||
load("hpc/1.2.0") | ||
load("hpc-gnu/10.1.0") | ||
load("hpc-mpt/2.22") | ||
local stack_python_ver=os.getenv("stack_python_ver") or "3.9.12" | ||
local stack_gnu_ver=os.getenv("stack_gnu_ver") or "10.1.0" | ||
local stack_openmpi_ver=os.getenv("stack_openmpi_ver") or "4.1.1" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.22.0" | ||
|
||
-- Preload w3nco to work around nemsio "find_dependency(w3nco)" hpc-stack bug | ||
load("w3nco/2.4.1") | ||
load(pathJoin("stack-gcc", stack_gnu_ver)) | ||
load(pathJoin("stack-openmpi", stack_openmpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gsi_common") | ||
|
||
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2" | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
pushenv("CFLAGS", "-xHOST") | ||
pushenv("FFLAGS", "-xHOST") | ||
|
||
pushenv("MKLROOT", "/glade/u/apps/opt/intel/2022.1/mkl/latest") | ||
|
||
pushenv("CC", "mpicc") | ||
pushenv("FC", "mpif90") | ||
pushenv("CXX", "mpicxx") | ||
pushenv("GSI_BINARY_SOURCE_DIR", "/glade/work/epicufsrt/contrib/GSI_data/fix/20230601") | ||
|
||
whatis("Description: GSI environment on Cheyenne with GNU 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
help([[ | ||
]]) | ||
|
||
load("cmake/3.22.0") | ||
load("python/3.7.9") | ||
load("ncarenv/1.3") | ||
load("intel/2022.1") | ||
load("mpt/2.25") | ||
load("ncarcompilers/0.5.0") | ||
unload("ncarenv/1.3") | ||
unload("intel/19.1.1") | ||
unload("ncarcompilers/0.5.0") | ||
unload("mpt/2.25") | ||
unload("netcdf/4.8.1") | ||
|
||
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/hpc-stack/intel2022.1/modulefiles/stack") | ||
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/spack-stack/cheyenne/spack-stack-1.4.1/envs/unified-env/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/glade/work/jedipara/cheyenne/spack-stack/modulefiles/misc") | ||
|
||
load("hpc/1.2.0") | ||
load("hpc-intel/2022.1") | ||
load("hpc-mpt/2.25") | ||
load("mkl/2022.1") | ||
local stack_python_ver=os.getenv("stack_python_ver") or "3.9.12" | ||
local stack_intel_ver=os.getenv("stack_intel_ver") or "19.1.1.217" | ||
local stack_mpi_ver=os.getenv("stack_mpi_ver") or "2019.7.217" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.22.0" | ||
|
||
load("gsi_common") | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-mpi", stack_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load(pathJoin("prod_util", os.getenv("prod_util_ver") or "1.2.2")) | ||
pushenv("GSI_BINARY_SOURCE_DIR", "/glade/work/epicufsrt/contrib/GSI_data/fix/20230601") | ||
load("gsi_common") | ||
|
||
pushenv("CFLAGS", "-xHOST") | ||
pushenv("FFLAGS", "-xHOST") | ||
|
||
pushenv("GSI_BINARY_SOURCE_DIR", "/glade/work/epicufsrt/contrib/GSI_data/fix/20230601") | ||
|
||
whatis("Description: GSI environment on Cheyenne 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
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,31 +1,24 @@ | ||
help([[ | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/miniconda3/modulefiles") | ||
miniconda3_ver=os.getenv("miniconda3_ver") or "4.12.0" | ||
load(pathJoin("miniconda3", miniconda3_ver)) | ||
prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.4.1/envs/unified-env/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/spack-stack/modulefiles") | ||
|
||
prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/hpc-stack/libs/intel-2022.1.2/modulefiles/stack") | ||
local stack_python_ver=os.getenv("stack_python_ver") or "3.9.12" | ||
local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0" | ||
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
|
||
local hpc_ver=os.getenv("hpc_ver") or "1.2.0" | ||
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "2022.1.2" | ||
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2022.1.2" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.20.1" | ||
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2" | ||
|
||
load(pathJoin("hpc", hpc_ver)) | ||
load(pathJoin("hpc-intel", hpc_intel_ver)) | ||
load(pathJoin("hpc-impi", hpc_impi_ver)) | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("gsi_common") | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
|
||
pushenv("CFLAGS", "-axSSE4.2,AVX,CORE-AVX2") | ||
pushenv("FFLAGS", "-axSSE4.2,AVX,CORE-AVX2") | ||
|
||
|
||
pushenv("GSI_BINARY_SOURCE_DIR", "/mnt/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix/gsi/20230601") | ||
|
||
whatis("Description: GSI environment on Jet 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