diff --git a/build.sh b/build.sh index a27da74e5..c81b47ae3 100755 --- a/build.sh +++ b/build.sh @@ -71,7 +71,7 @@ while getopts "p:t:c:hvdfa" opt; do done case ${BUILD_TARGET} in - hera | orion | hercules) + hera | orion | hercules | wcoss2) echo "Building GDASApp on $BUILD_TARGET" source $dir_root/ush/module-setup.sh module use $dir_root/modulefiles diff --git a/modulefiles/GDAS/wcoss2.intel.lua b/modulefiles/GDAS/wcoss2.intel.lua new file mode 100644 index 000000000..d21099b2e --- /dev/null +++ b/modulefiles/GDAS/wcoss2.intel.lua @@ -0,0 +1,51 @@ +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", "/apps/dev/lmodules/core") + +load("PrgEnv-intel/8.2.0") +load("cmake/3.20.2") +load("craype") +load("cray-pals") +load("git/2.29.0") +load("intel/19.1.3.304") +load("cray-mpich/8.1.12") +load("hdf5/1.12.2") +load("netcdf/4.7.4") +load("udunits/2.2.28") +load("eigen/3.4.0") +load("boost/1.79.0") +load("gsl-lite/v0.40.0") +load("sp/2.4.0") +load("python/3.8.6") +load("ecbuild/3.7.0") +load("qhull/2020.2") +load("eckit/1.24.4") +load("fckit/0.11.0") +load("atlas/0.35.0") +load("nccmp") + +-- hack for pybind11 +setenv("pybind11_ROOT", "/apps/spack/python/3.8.6/intel/19.1.3.304/pjn2nzkjvqgmjw4hmyz43v5x4jbxjzpk/lib/python3.8/site-packages/pybind11/share/cmake/pybind11") + +-- hack for wxflow +--prepend_path("PYTHONPATH", "/scratch1/NCEPDEV/da/python/gdasapp/wxflow/20240307/src") + +local mpiexec = '/pe/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpirun' +local mpinproc = '-n' +setenv('MPIEXEC_EXEC', mpiexec) +setenv('MPIEXEC_NPROC', mpinproc) + +setenv("CRTM_FIX","/lfs/h2/emc/da/noscrub/emc.da/GDASApp/fix/crtm/2.4.0") +setenv("GDASAPP_TESTDATA","/lfs/h2/emc/da/noscrub/emc.da/GDASApp/data") +setenv("GDASAPP_UNIT_TEST_DATA_PATH", "/lfs/h2/emc/da/noscrub/emc.da/GDASApp/data/test") + +whatis("Name: ".. pkgName) +whatis("Version: ".. pkgVersion) +whatis("Category: GDASApp") +whatis("Description: Load all libraries needed for GDASApp") diff --git a/sorc/ioda b/sorc/ioda index 91eb2c764..206eba708 160000 --- a/sorc/ioda +++ b/sorc/ioda @@ -1 +1 @@ -Subproject commit 91eb2c7643b33c1af2470d289eefb7aec2667387 +Subproject commit 206eba7084c08a3bc9a1c6ccbbff3e63d7cb602e