-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port land-DA workflow to Hercules (#133)
* add module files for hercules * add ctest scripts * add yaml file * add we2e to pr template * fix typo in ctest * rm dummy line * adjust time limit
- Loading branch information
Showing
18 changed files
with
504 additions
and
5 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
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,46 @@ | ||
help([[ | ||
loads modules necessary for building the land-DA workflow on Hercules using Intel | ||
]]) | ||
|
||
whatis([===[Loads modules necessary for building the land-DA workflow on Hercules]===]) | ||
|
||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("cmake", cmake_ver)) | ||
load(pathJoin("ecbuild", ecbuild_ver)) | ||
|
||
load(pathJoin("jasper", jasper_ver)) | ||
load(pathJoin("zlib", zlib_ver)) | ||
load(pathJoin("libpng", libpng_ver)) | ||
load(pathJoin("hdf5", hdf5_ver)) | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
load(pathJoin("parallelio", parallelio_ver)) | ||
load(pathJoin("esmf", esmf_ver)) | ||
load(pathJoin("fms",fms_ver)) | ||
load(pathJoin("bacio", bacio_ver)) | ||
load(pathJoin("crtm", crtm_ver)) | ||
load(pathJoin("g2", g2_ver)) | ||
load(pathJoin("g2tmpl", g2tmpl_ver)) | ||
load(pathJoin("ip", ip_ver)) | ||
load(pathJoin("sp", sp_ver)) | ||
load(pathJoin("w3emc", w3emc_ver)) | ||
load(pathJoin("gftl-shared", gftl_shared_ver)) | ||
load(pathJoin("mapl", mapl_ver)) | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
load(pathJoin("ufs-pyenv", ufs_pyenv_ver)) | ||
|
||
setenv("CFLAGS","-diag-disable=10441") | ||
setenv("FFLAGS","-diag-disable=10441") | ||
|
||
setenv("CC", "mpiicc") | ||
setenv("CXX", "mpiicpc") | ||
setenv("FC", "mpiifort") | ||
setenv("CMAKE_Platform", "hercules.intel") | ||
|
||
setenv("EPICHOME", "/work/noaa/epic/UFS_Land-DA_Dev") | ||
setenv("JEDI_INSTALL", "/work2/noaa/epic/UFS_Land-DA_Dev/jedi_v7_hercules") |
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,10 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
load(pathJoin("py-netcdf4", py_netcdf4_ver)) | ||
load(pathJoin("py-numpy", py_numpy_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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("jasper", jasper_ver)) | ||
load(pathJoin("zlib", zlib_ver)) | ||
load(pathJoin("libpng", libpng_ver)) | ||
load(pathJoin("hdf5", hdf5_ver)) | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
load(pathJoin("parallelio", parallelio_ver)) | ||
load(pathJoin("esmf", esmf_ver)) | ||
load(pathJoin("fms",fms_ver)) | ||
load(pathJoin("bacio", bacio_ver)) | ||
load(pathJoin("crtm", crtm_ver)) | ||
load(pathJoin("g2", g2_ver)) | ||
load(pathJoin("g2tmpl", g2tmpl_ver)) | ||
load(pathJoin("ip", ip_ver)) | ||
load(pathJoin("sp", sp_ver)) | ||
load(pathJoin("w3emc", w3emc_ver)) | ||
load(pathJoin("gftl-shared", gftl_shared_ver)) | ||
load(pathJoin("mapl", mapl_ver)) | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
load(pathJoin("py-netcdf4", py_netcdf4_ver)) | ||
load(pathJoin("py-numpy", py_numpy_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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("prod_util", prod_util_ver)) | ||
load(pathJoin("py-cartopy", py_cartopy_ver)) | ||
load(pathJoin("py-matplotlib", py_matplotlib_ver)) | ||
load(pathJoin("py-netcdf4", py_netcdf4_ver)) | ||
load(pathJoin("py-numpy", py_numpy_ver)) | ||
load(pathJoin("py-pyyaml", py_pyyaml_ver)) | ||
load(pathJoin("py-scipy", py_scipy_ver)) | ||
load(pathJoin("py-xarray", py_xarray_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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("hdf5", hdf5_ver)) | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
load(pathJoin("prod_util", prod_util_ver)) | ||
load(pathJoin("py-netcdf4", py_netcdf4_ver)) | ||
load(pathJoin("py-numpy", py_numpy_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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("hdf5", hdf5_ver)) | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
load(pathJoin("prod_util", prod_util_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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
prepend_path("MODULEPATH", os.getenv("modulepath_spack_stack")) | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_intel_oneapi_mpi_ver)) | ||
load(pathJoin("stack-python", stack_python_ver)) | ||
|
||
load(pathJoin("prod_util", prod_util_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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
help([[ | ||
This module loads python environement for running the land-DA workflow on | ||
the MSU machine Hercules | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for running the land-DA workflow on Hercules ]===]) | ||
|
||
load("contrib") | ||
load("rocoto") | ||
|
||
unload("python") | ||
load("conda") | ||
|
||
if mode() == "load" then | ||
LmodMsgRaw([===[Please do the following to activate conda: | ||
> conda activate land_da | ||
]===]) | ||
end |
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
Oops, something went wrong.