-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/diffusion
- Loading branch information
Showing
12 changed files
with
153 additions
and
41 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,98 @@ | ||
help([[ | ||
Load environment for running the GDAS application with Intel compilers and MPI. | ||
]]) | ||
|
||
local pkgName = myModuleName() | ||
local pkgVersion = myModuleVersion() | ||
local pkgNameVer = myModuleFullName() | ||
|
||
prepend_path("MODULEPATH", '/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.1/envs/unified-env/install/modulefiles/Core') | ||
prepend_path("MODULEPATH", '/work2/noaa/da/python/opt/modulefiles/stack') | ||
|
||
-- below two lines get us access to the spack-stack modules | ||
load("stack-intel/2021.9.0") | ||
load("stack-intel-oneapi-mpi/2021.9.0") | ||
--load("stack-python/3.10.8") | ||
-- JCSDA has 'jedi-fv3-env/unified-dev', but we should load these manually as needed | ||
load("cmake/3.23.1") | ||
load("curl/8.1.2") | ||
load("zlib/1.2.13") | ||
load("git/2.40.0") | ||
--load("pkg-config/0.27.1") | ||
load("hdf5/1.14.0") | ||
load("parallel-netcdf/1.12.2") | ||
load("netcdf-c/4.9.2") | ||
load("nccmp/1.9.0.1") | ||
load("netcdf-fortran/4.6.0") | ||
load("nco/5.0.6") | ||
load("parallelio/2.5.10") | ||
load("wget/1.21.1") | ||
load("boost/1.78") | ||
load("bufr/12.0.1") | ||
load("git-lfs/3.1.2") | ||
load("ecbuild/3.7.2") | ||
load("openjpeg/2.4.0") | ||
load("eccodes/2.27.0") | ||
load("eigen/3.4.0") | ||
load("openblas/0.3.19") | ||
load("eckit/1.24.4") | ||
load("fftw/3.3.10") | ||
load("fckit/0.11.0") | ||
load("fiat/1.2.0") | ||
load("ectrans/1.2.0") | ||
load("atlas/0.35.0") | ||
load("sp/2.3.3") | ||
load("gsl-lite/0.37.0") | ||
load("libjpeg/2.1.0") | ||
load("krb5/1.20.1") | ||
load("libtirpc/1.2.6") | ||
load("hdf/4.2.15") | ||
load("jedi-cmake/1.4.0") | ||
load("libpng/1.6.37") | ||
load("libxt/1.1.5") | ||
load("libxmu/1.1.4") | ||
load("libxpm/3.5.12") | ||
load("libxaw/1.0.13") | ||
load("udunits/2.2.28") | ||
load("ncview/2.1.8") | ||
load("netcdf-cxx4/4.3.1") | ||
load("py-pybind11/2.8.1") | ||
--load("crtm/v2.4_jedi") | ||
load("contrib/0.1") | ||
load("noaatools/3.1") | ||
load("rocoto/1.3.5") | ||
|
||
load("hpc/1.2.0") | ||
unload("python/3.10.8") | ||
unload("python/3.9.2") | ||
load("miniconda3/4.6.14") | ||
load("gdasapp/1.0.0") | ||
|
||
load("boost/1.78.0") | ||
load("bufr/12.0.1") | ||
load("fckit/0.11.0") | ||
load("atlas/0.35.0") | ||
load("py-pybind11/2.8.1") | ||
|
||
-- below is a hack because of cmake finding the wrong python... | ||
setenv("CONDA_PREFIX", "/work2/noaa/da/python/opt/core/miniconda3/4.6.14/envs/gdasapp/") | ||
|
||
setenv("CC","mpiicc") | ||
setenv("FC","mpiifort") | ||
setenv("CXX","mpiicpc") | ||
local mpiexec = '/opt/slurm/bin/srun' | ||
local mpinproc = '-n' | ||
setenv('MPIEXEC_EXEC', mpiexec) | ||
setenv('MPIEXEC_NPROC', mpinproc) | ||
|
||
setenv('R2D2_CONFIG', '/work2/noaa/da/cmartin/GDASApp/R2D2_SHARED/config_orion.yaml') | ||
setenv("CRTM_FIX","/work2/noaa/da/cmartin/GDASApp/fix/crtm/2.4.0") | ||
setenv("GDASAPP_TESTDATA","/work2/noaa/da/cmartin/CI/GDASApp/data") | ||
prepend_path("PATH","/apps/contrib/NCEP/libs/hpc-stack/intel-2018.4/prod_util/1.2.2/bin") | ||
|
||
execute{cmd="ulimit -s unlimited",modeA={"load"}} | ||
|
||
whatis("Name: ".. pkgName) | ||
whatis("Version: ".. pkgVersion) | ||
whatis("Category: GDASApp") | ||
whatis("Description: Load all libraries needed for GDASApp") |
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
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