diff --git a/ci/platforms/config.noaacloud b/ci/platforms/config.noaacloud new file mode 100644 index 0000000000..5303f24860 --- /dev/null +++ b/ci/platforms/config.noaacloud @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +export HPC_ACCOUNT=${USER} diff --git a/ush/load_fv3gfs_modules.sh b/ush/load_fv3gfs_modules.sh index ff6f64cece..eec95886c0 100755 --- a/ush/load_fv3gfs_modules.sh +++ b/ush/load_fv3gfs_modules.sh @@ -13,16 +13,30 @@ ulimit_s=$( ulimit -S -s ) source "${HOMEgfs}/ush/detect_machine.sh" source "${HOMEgfs}/ush/module-setup.sh" -# Source versions file for runtime -source "${HOMEgfs}/versions/run.ver" - # Load our modules: module use "${HOMEgfs}/modulefiles" case "${MACHINE_ID}" in - "wcoss2" | "hera" | "orion" | "hercules" | "gaea" | "jet" | "s4" | "noaacloud") + "noaacloud") + #TODO this is a total kludge to get epic mount point for compute nodes + # to be the same as the login node. This should be workng from in the + # ALLNODES section of the User Bootstrap of Parllel Works but it doen't + # on the Rokcky Clusters (works fine in the Centos 7 cluster) + if [[ ! -d /contrib-epic/EPIC ]]; then + /contrib/Terry.McGuinness/SETUP/mount-epic-contrib.sh + sudo systemctl daemon-reload + fi + # Check if the OS is Rocky or CentOS + OS_NAME=$(grep -E '^ID=' /etc/os-release | sed -E 's/ID="?([^"]*)"?/\1/') || true + # Source versions file for runtime + source "${HOMEgfs}/versions/run.${MACHINE_ID}.${OS_NAME}.ver" module load "module_base.${MACHINE_ID}" ;; + "wcoss2" | "hera" | "orion" | "hercules" | "gaea" | "jet" | "s4") + # Source versions file for runtime + source "${HOMEgfs}/versions/run.${MACHINE_ID}.ver" + module load "module_base.${MACHINE_ID}" module load "module_base.${MACHINE_ID}" + ;; ;; *) echo "WARNING: UNKNOWN PLATFORM" ;; diff --git a/versions/run.noaacloud.centos.ver b/versions/run.noaacloud.centos.ver new file mode 100644 index 0000000000..5a9b2b6fc5 --- /dev/null +++ b/versions/run.noaacloud.centos.ver @@ -0,0 +1,12 @@ +export stack_intel_ver=2021.3.0 +export stack_impi_ver=2021.3.0 +export spack_env=gsi-addon-env + +source "${HOMEgfs:-}/versions/spack.ver" +export spack_mod_path="/contrib/spack-stack/spack-stack-${spack_stack_ver}/envs/gsi-addon-env/install/modulefiles/Core" + +export g2tmpl_ver=1.10.2 +export jasper_ver=2.0.32 +export wgrib2_ver=2.0.8 +export cdo_ver=1.9.5 +export nco_ver=4.9.3 diff --git a/versions/run.noaacloud.rocky.ver b/versions/run.noaacloud.rocky.ver new file mode 100644 index 0000000000..0f2a815dec --- /dev/null +++ b/versions/run.noaacloud.rocky.ver @@ -0,0 +1,12 @@ +export stack_intel_ver=2021.3.0 +export stack_impi_ver=2021.3.0 +export spack_env=gsi-addon-env + +source "${HOMEgfs:-}/versions/spack.ver" +export spack_mod_path="/contrib/spack-stack/spack-stack-${spack_stack_ver}/envs/gsi-addon-env/install/modulefiles/Core" + +export g2tmpl_ver=1.10.2 +export wgrib2_ver=3.1.2_wmo +export cdo_ver=2.3.0 +export jasper_ver=4.2.0 +export nco_ver=5.1.6 diff --git a/versions/run.noaacloud.ver b/versions/run.noaacloud.ver index 1fc3779b2e..0f2a815dec 100644 --- a/versions/run.noaacloud.ver +++ b/versions/run.noaacloud.ver @@ -5,4 +5,8 @@ export spack_env=gsi-addon-env source "${HOMEgfs:-}/versions/spack.ver" export spack_mod_path="/contrib/spack-stack/spack-stack-${spack_stack_ver}/envs/gsi-addon-env/install/modulefiles/Core" -export cdo_ver=2.2.0 +export g2tmpl_ver=1.10.2 +export wgrib2_ver=3.1.2_wmo +export cdo_ver=2.3.0 +export jasper_ver=4.2.0 +export nco_ver=5.1.6 diff --git a/versions/spack.ver b/versions/spack.ver index 1f553134f0..dbe304a5fe 100644 --- a/versions/spack.ver +++ b/versions/spack.ver @@ -6,7 +6,7 @@ export jasper_ver=2.0.32 export libpng_ver=1.6.37 export zlib_ver=1.2.13 export esmf_ver=8.5.0 -export fms_ver=2023.02.01 +export fms_ver=2023.04 export cdo_ver=2.2.0 export nco_ver=5.0.6 @@ -23,7 +23,7 @@ export g2_ver=3.4.5 export sp_ver=2.5.0 export ip_ver=4.3.0 export gsi_ncdiag_ver=1.1.2 -export g2tmpl_ver=1.10.2 +export g2tmpl_ver=1.13.0 export crtm_ver=2.4.0.1 export wgrib2_ver=2.0.8 export grib_util_ver=1.3.0