Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone, build, and run C48_ATM, C48_S2SW, and C96_atm3DVar on Gaea C5 and C6 #3106

Draft
wants to merge 21 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e97d26d
Updates for setup_expt and setup_xml workflow on Gaea C5 and C6
DavidBurrows-NCO Oct 25, 2024
ecb706c
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Nov 12, 2024
d7e2398
update submodules and some files to run on C5/C6
DavidBurrows-NCO Nov 14, 2024
3dbc625
modulefile updates for C6
DavidBurrows-NCO Nov 15, 2024
a8d2720
merge conflicts
DavidBurrows-NCO Nov 15, 2024
296b5c3
module file updates
DavidBurrows-NCO Nov 15, 2024
16d1ff4
update C5 resources
DavidBurrows-NCO Nov 15, 2024
5973d8c
enable C5 and C6 build_all and load modules
DavidBurrows-NCO Nov 15, 2024
3c946e3
update ufs_utils hash to develop
DavidBurrows-NCO Nov 15, 2024
fc56219
remove data in path for C5 fix files to be consistent with other systems
DavidBurrows-NCO Nov 15, 2024
ad28704
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Nov 18, 2024
7e4e168
merging gdas.cd conflict
DavidBurrows-NCO Nov 20, 2024
55c3755
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Nov 22, 2024
9da291a
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Nov 25, 2024
8e9c574
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Nov 26, 2024
5912489
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Dec 2, 2024
8ee25a5
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Dec 3, 2024
3f89329
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Dec 4, 2024
c24c122
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Dec 9, 2024
a654df2
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Dec 10, 2024
38eb76b
Merge branch 'NOAA-EMC:develop' into gw_c5OSc6
DavidBurrows-NCO Dec 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions env/GAEA.env → env/GAEAC5.env
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ if [[ -n "${ntasks:-}" && -n "${max_tasks_per_node:-}" && -n "${tasks_per_node:-
NTHREADS1=${threads_per_task:-1}
[[ ${NTHREADSmax} -gt ${max_threads_per_task} ]] && NTHREADSmax=${max_threads_per_task}
[[ ${NTHREADS1} -gt ${max_threads_per_task} ]] && NTHREADS1=${max_threads_per_task}
# This may be useful when Gaea is fully ported, so ignore SC warning
# This may be useful when GaeaC5 is fully ported, so ignore SC warning
# shellcheck disable=SC2034
APRUN_default="${launcher} -n ${ntasks}"
else
echo "ERROR config.resources must be sourced before sourcing GAEA.env"
echo "ERROR config.resources must be sourced before sourcing GAEAC5.env"
exit 2
fi

if [[ "${step}" = "prep" ]]; then

export POE="NO"
export BACK="NO"
export sys_tp="GAEA"
export sys_tp="GAEAC5"
export launcher_PREP="srun"

elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then
Expand Down Expand Up @@ -86,7 +86,7 @@ elif [[ "${step}" = "upp" ]]; then

elif [[ "${step}" = "atmos_products" ]]; then

export USE_CFP="YES" # Use MPMD for downstream product generation on Gaea
export USE_CFP="YES" # Use MPMD for downstream product generation on GaeaC5

elif [[ "${step}" = "oceanice_products" ]]; then

Expand All @@ -98,4 +98,11 @@ elif [[ "${step}" = "fit2obs" ]]; then
export NTHREADS_FIT2OBS=${NTHREADS1}
export MPIRUN="${APRUN_default} --cpus-per-task=${NTHREADS_FIT2OBS}"

elif [[ "${step}" = "waveinit" ]] || [[ "${step}" = "waveprep" ]] || [[ "${step}" = "wavepostsbs" ]] || [[ "${step}" = "wavepostbndpnt" ]] || [[ "${step}" = "wavepostbndpntbll" ]] || [[ "${step}" = "wavepostpnt" ]]; then

export CFP_MP="YES"
if [[ "${step}" = "waveprep" ]]; then export MP_PULSE=0 ; fi
export wavempexec=${launcher}
export wave_mpmd=${mpmd_opt}

fi
108 changes: 108 additions & 0 deletions env/GAEAC6.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
#! /usr/bin/env bash

if [[ $# -ne 1 ]]; then

echo "Must specify an input argument to set runtime environment variables!"
exit 1

fi

step=$1

export launcher="srun -l --export=ALL"
export mpmd_opt="--multi-prog --output=mpmd.%j.%t.out"

export OMP_STACKSIZE=2048000
export NTHSTACK=1024000000

ulimit -s unlimited
ulimit -a

# Calculate common variables
# Check first if the dependent variables are set
if [[ -n "${ntasks:-}" && -n "${max_tasks_per_node:-}" && -n "${tasks_per_node:-}" ]]; then
max_threads_per_task=$((max_tasks_per_node / tasks_per_node))
NTHREADSmax=${threads_per_task:-${max_threads_per_task}}
NTHREADS1=${threads_per_task:-1}
[[ ${NTHREADSmax} -gt ${max_threads_per_task} ]] && NTHREADSmax=${max_threads_per_task}
[[ ${NTHREADS1} -gt ${max_threads_per_task} ]] && NTHREADS1=${max_threads_per_task}
# This may be useful when GaeaC6 is fully ported, so ignore SC warning
# shellcheck disable=SC2034
APRUN_default="${launcher} -n ${ntasks}"
else
echo "ERROR config.resources must be sourced before sourcing GAEAC6.env"
exit 2
fi

if [[ "${step}" = "prep" ]]; then

export POE="NO"
export BACK="NO"
export sys_tp="GAEAC6"
export launcher_PREP="srun"

elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then

export MKL_NUM_THREADS=4
export MKL_CBWR=AUTO

export CFP_MP=${CFP_MP:-"YES"}
export USE_CFP=${USE_CFP:-"YES"}
export APRUNCFP="${launcher} -n \$ncmd ${mpmd_opt}"

export NTHREADS_GSI=${NTHREADSmax}
export APRUN_GSI="${APRUN_default} --cpus-per-task=${NTHREADS_GSI}"

export NTHREADS_CALCINC=${threads_per_task_calcinc:-1}
[[ ${NTHREADS_CALCINC} -gt ${max_threads_per_task} ]] && export NTHREADS_CALCINC=${max_threads_per_task}
export APRUN_CALCINC="${launcher} \$ncmd --cpus-per-task=${NTHREADS_CALCINC}"

export NTHREADS_CYCLE=${threads_per_task_cycle:-12}
[[ ${NTHREADS_CYCLE} -gt ${max_tasks_per_node} ]] && export NTHREADS_CYCLE=${max_tasks_per_node}
ntasks_cycle=${ntiles:-6}
export APRUN_CYCLE="${launcher} -n ${ntasks_cycle} --cpus-per-task=${NTHREADS_CYCLE}"

export NTHREADS_GAUSFCANL=1
ntasks_gausfcanl=${ntasks_gausfcanl:-1}
export APRUN_GAUSFCANL="${launcher} -n ${ntasks_gausfcanl} --cpus-per-task=${NTHREADS_GAUSFCANL}"

elif [[ "${step}" = "sfcanl" ]]; then

export NTHREADS_CYCLE=${threads_per_task:-14}
export APRUN_CYCLE="${APRUN_default} --cpus-per-task=${NTHREADS_CYCLE}"

elif [[ "${step}" = "fcst" ]]; then

(( nnodes = (ntasks+tasks_per_node-1)/tasks_per_node ))
(( ufs_ntasks = nnodes*tasks_per_node ))
# With ESMF threading, the model wants to use the full node
export APRUN_UFS="${launcher} -n ${ufs_ntasks}"
unset nnodes ufs_ntasks

elif [[ "${step}" = "upp" ]]; then

export NTHREADS_UPP=${NTHREADS1}
export APRUN_UPP="${APRUN_default} --cpus-per-task=${NTHREADS_UPP}"

elif [[ "${step}" = "atmos_products" ]]; then

export USE_CFP="YES" # Use MPMD for downstream product generation on GaeaC6

elif [[ "${step}" = "oceanice_products" ]]; then

export NTHREADS_OCNICEPOST=${NTHREADS1}
export APRUN_OCNICEPOST="${launcher} -n 1 --cpus-per-task=${NTHREADS_OCNICEPOST}"

elif [[ "${step}" = "fit2obs" ]]; then

export NTHREADS_FIT2OBS=${NTHREADS1}
export MPIRUN="${APRUN_default} --cpus-per-task=${NTHREADS_FIT2OBS}"

elif [[ "${step}" = "waveinit" ]] || [[ "${step}" = "waveprep" ]] || [[ "${step}" = "wavepostsbs" ]] || [[ "${step}" = "wavepostbndpnt" ]] || [[ "${step}" = "wavepostbndpntbll" ]] || [[ "${step}" = "wavepostpnt" ]]; then

export CFP_MP="YES"
if [[ "${step}" = "waveprep" ]]; then export MP_PULSE=0 ; fi
export wavempexec=${launcher}
export wave_mpmd=${mpmd_opt}

fi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
help([[
Load environment to run GFS on Gaea
Load environment to run GFS on Gaea C5
]])

local spack_mod_path=(os.getenv("spack_mod_path") or "None")
Expand Down
47 changes: 47 additions & 0 deletions modulefiles/module_base.gaeac6.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
help([[
Load environment to run GFS on Gaea C6
]])

local spack_mod_path=(os.getenv("spack_mod_path") or "None")
prepend_path("MODULEPATH", spack_mod_path)

load(pathJoin("stack-intel", (os.getenv("stack_intel_ver") or "None")))
load(pathJoin("stack-cray-mpich", (os.getenv("stack_cray_mpich_ver") or "None")))
load(pathJoin("python", (os.getenv("python_ver") or "None")))

load(pathJoin("jasper", (os.getenv("jasper_ver") or "None")))
load(pathJoin("libpng", (os.getenv("libpng_ver") or "None")))
load(pathJoin("cdo", (os.getenv("cdo_ver") or "None")))
load(pathJoin("hdf5", (os.getenv("hdf5_ver") or "None")))
load(pathJoin("netcdf-c", (os.getenv("netcdf_c_ver") or "None")))
load(pathJoin("netcdf-fortran", (os.getenv("netcdf_fortran_ver") or "None")))
load(pathJoin("perlbrew", (os.getenv("perl_ver") or "None")))

load(pathJoin("nco", (os.getenv("nco_ver") or "None")))
load(pathJoin("prod_util", (os.getenv("prod_util_ver") or "None")))
load(pathJoin("grib-util", (os.getenv("grib_util_ver") or "None")))
load(pathJoin("g2tmpl", (os.getenv("g2tmpl_ver") or "None")))
load(pathJoin("gsi-ncdiag", (os.getenv("gsi_ncdiag_ver") or "None")))
load(pathJoin("crtm", (os.getenv("crtm_ver") or "None")))
load(pathJoin("bufr", (os.getenv("bufr_ver") or "None")))
load(pathJoin("wgrib2", (os.getenv("wgrib2_ver") or "None")))
load(pathJoin("py-netcdf4", (os.getenv("py_netcdf4_ver") or "None")))
load(pathJoin("py-f90nml", (os.getenv("py_f90nml_ver") or "None")))
load(pathJoin("py-pyyaml", (os.getenv("py_pyyaml_ver") or "None")))
load(pathJoin("py-jinja2", (os.getenv("py_jinja2_ver") or "None")))
load(pathJoin("py-pandas", (os.getenv("py_pandas_ver") or "None")))
load(pathJoin("py-python-dateutil", (os.getenv("py_python_dateutil_ver") or "None")))
load(pathJoin("met", (os.getenv("met_ver") or "None")))
load(pathJoin("metplus", (os.getenv("metplus_ver") or "None")))
load(pathJoin("py-xarray", (os.getenv("py_xarray_ver") or "None")))

setenv("WGRIB2","wgrib2")
setenv("UTILROOT",(os.getenv("prod_util_ROOT") or "None"))

prepend_path("MODULEPATH", pathJoin("/gpfs/f6/bil-fire8/world-shared/global/glopara/git/prepobs/v" .. (os.getenv("prepobs_run_ver") or "None"), "modulefiles"))
load(pathJoin("prepobs", (os.getenv("prepobs_run_ver") or "None")))

--prepend_path("MODULEPATH", pathJoin("/gpfs/f6/bil-fire8/world-shared/global/glopara/git/Fit2Obs/v" .. (os.getenv("fit2obs_ver") or "None"), "modulefiles"))
--load(pathJoin("fit2obs", (os.getenv("fit2obs_ver") or "None")))

whatis("Description: GFS run setup environment")
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
help([[
Load environment to run GFS workflow setup scripts on Gaea
Load environment to run GFS workflow setup scripts on Gaea C5
]])

prepend_path("MODULEPATH", "/ncrc/proj/epic/rocoto/modulefiles")
load(pathJoin("rocoto"))

prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2023.1.0"
local stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0"
local python_ver=os.getenv("python_ver") or "3.10.13"

load(pathJoin("stack-intel", stack_intel_ver))
Expand Down
20 changes: 20 additions & 0 deletions modulefiles/module_gwsetup.gaeac6.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
help([[
Load environment to run GFS workflow setup scripts on Gaea C6
]])

prepend_path("MODULEPATH", "/ncrc/proj/epic/rocoto/modulefiles")
load(pathJoin("rocoto"))

prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0"
local python_ver=os.getenv("python_ver") or "3.10.13"

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("python", python_ver))
load("py-jinja2")
load("py-pyyaml")
load("py-numpy")
load("git-lfs")

whatis("Description: GFS run setup environment")
7 changes: 6 additions & 1 deletion parm/config/gfs/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,16 @@ case ${machine} in
# shellcheck disable=SC2034
mem_node_max="96GB"
;;
"GAEA")
"GAEAC5")
max_tasks_per_node=128
# shellcheck disable=SC2034
mem_node_max="251GB"
;;
"GAEAC6")
max_tasks_per_node=192
# shellcheck disable=SC2034
mem_node_max="384GB"
;;
"ORION")
max_tasks_per_node=40
# shellcheck disable=SC2034
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /usr/bin/env bash

# Gaea-specific job resources
# GaeaC5-specific job resources

case ${step} in
"prep")
Expand All @@ -26,6 +26,8 @@ case ${step} in

esac

export FI_VERBS_PREFER_XRC=0

unset memory
# shellcheck disable=SC2312
for mem_var in $(env | grep '^memory_' | cut -d= -f1); do
Expand Down
9 changes: 9 additions & 0 deletions parm/config/gfs/config.resources.GAEAC6
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#! /usr/bin/env bash

# GaeaC6-specific job resources

unset memory
# shellcheck disable=SC2312
for mem_var in $(env | grep '^memory_' | cut -d= -f1); do
unset "${mem_var}"
done
8 changes: 4 additions & 4 deletions parm/config/gfs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ base:
DO_GEMPAK: "NO"
DO_AWIPS: "NO"
DO_NPOESS: "NO"
DO_TRACKER: "YES"
DO_GENESIS: "YES"
DO_TRACKER: "NO"
DO_GENESIS: "NO"
DO_GENESIS_FSU: "NO"
DO_METP: "YES"
FHMAX_GFS: 120
DO_METP: "NO"
FHMAX_GFS: 42
FHMAX_HF_GFS: 0
FCST_BREAKPOINTS: ""
DO_VRFY_OCEANDA: "NO"
Expand Down
2 changes: 1 addition & 1 deletion sorc/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ build_opts["ww3prepost"]="${_wave_opt} ${_verbose_opt} ${_build_ufs_opt} ${_buil

# Optional DA builds
if [[ "${_build_ufsda}" == "YES" ]]; then
if [[ "${MACHINE_ID}" != "orion" && "${MACHINE_ID}" != "hera" && "${MACHINE_ID}" != "hercules" && "${MACHINE_ID}" != "wcoss2" && "${MACHINE_ID}" != "noaacloud" && "${MACHINE_ID}" != "gaea" ]]; then
if [[ "${MACHINE_ID}" != "orion" && "${MACHINE_ID}" != "hera" && "${MACHINE_ID}" != "hercules" && "${MACHINE_ID}" != "wcoss2" && "${MACHINE_ID}" != "noaacloud" && "${MACHINE_ID}" != "gaeac5" && "${MACHINE_ID}" != "gaeac6" ]]; then
echo "NOTE: The GDAS App is not supported on ${MACHINE_ID}. Disabling build."
else
build_jobs["gdas"]=8
Expand Down
3 changes: 2 additions & 1 deletion sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ case "${machine}" in
"hercules") FIX_DIR="/work/noaa/global/glopara/fix" ;;
"jet") FIX_DIR="/lfs5/HFIP/hfv3gfs/glopara/FIX/fix" ;;
"s4") FIX_DIR="/data/prod/glopara/fix" ;;
"gaea") FIX_DIR="/gpfs/f5/ufs-ard/world-shared/global/glopara/data/fix" ;;
"gaeac5") FIX_DIR="/gpfs/f5/ufs-ard/world-shared/global/glopara/fix" ;;
"gaeac6") FIX_DIR="/gpfs/f6/bil-fire8/world-shared/global/glopara/fix" ;;
"noaacloud") FIX_DIR="/contrib/global-workflow-shared-data/fix" ;;
*)
echo "FATAL: Unknown target machine ${machine}, couldn't set FIX_DIR"
Expand Down
2 changes: 1 addition & 1 deletion sorc/ufs_model.fd
Submodule ufs_model.fd updated 143 files
2 changes: 1 addition & 1 deletion sorc/ufs_utils.fd
Submodule ufs_utils.fd updated 39 files
+6 −5 docs/source/chgres_cube.rst
+9 −9 docs/source/ufs_utils.rst
+12 −14 fix/link_fixdirs.sh
+55 −0 modulefiles/build.container.intel.lua
+2 −2 modulefiles/build.gaeac5.intel.lua
+66 −0 modulefiles/build.gaeac6.intel.lua
+7 −10 modulefiles/build.noaacloud.intel.lua
+0 −10 modulefiles/common4noaacloud.lua
+28 −0 parm/varmap_tables/GSDphys_smoke_var_map.txt
+1 −1 parm/varmap_tables/GSDphys_var_map.txt
+103 −0 reg_tests/chgres_cube/13km.conus.rap-smoke.grib2.sh
+12 −1 reg_tests/chgres_cube/driver.hera.sh
+10 −1 reg_tests/chgres_cube/driver.hercules.sh
+10 −1 reg_tests/chgres_cube/driver.jet.sh
+10 −1 reg_tests/chgres_cube/driver.orion.sh
+10 −1 reg_tests/chgres_cube/driver.wcoss2.sh
+0 −2 reg_tests/cpld_gridgen/parm/grid.nml.IN
+7 −26 reg_tests/cpld_gridgen/rt.conf
+2 −4 reg_tests/cpld_gridgen/rt.sh
+1 −3 reg_tests/ice_blend/driver.jet.sh
+77 −7 sorc/chgres_cube.fd/atm_input_data.F90
+1 −1 sorc/cpld_gridgen.fd/docs/cpld_gridgen.md
+28 −19 sorc/cpld_gridgen.fd/gen_fixgrid.F90
+3 −0 sorc/cpld_gridgen.fd/grdvars.F90
+2 −3 sorc/cpld_gridgen.fd/inputnml.F90
+14 −3 sorc/machine-setup.sh
+3 −11 sorc/orog_mask_tools.fd/orog.fd/CMakeLists.txt
+319 −20 sorc/orog_mask_tools.fd/orog.fd/io_utils.F90
+0 −4,468 sorc/orog_mask_tools.fd/orog.fd/mtnlm7_oclsm.F
+1,365 −0 sorc/orog_mask_tools.fd/orog.fd/mtnlm7_oclsm.F90
+1,104 −0 sorc/orog_mask_tools.fd/orog.fd/orog_utils.F90
+1 −0 tests/CMakeLists.txt
+23 −0 tests/orog/CMakeLists.txt
+58 −0 tests/orog/ftst_get_ll_angle.F90
+87 −0 tests/orog/ftst_ll2xyz.F90
+44 −0 tests/orog/ftst_minmax.F90
+0 −19 ush/cpld_gridgen.sh
+1 −1 ush/fv3gfs_driver_grid.sh
+1 −1 util/gdas_init/set_fixed_files.sh
16 changes: 11 additions & 5 deletions ush/detect_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ case $(hostname -f) in
dlogin0[1-9].dogwood.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### dogwood01-9
dlogin10.dogwood.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### dogwood10

gaea5[1-8]) MACHINE_ID=gaea ;; ### gaea51-58
gaea5[1-8].ncrc.gov) MACHINE_ID=gaea ;; ### gaea51-58
gaea5[1-8]) MACHINE_ID=gaeac5 ;; ### gaea51-58
gaea5[1-8].ncrc.gov) MACHINE_ID=gaeac5 ;; ### gaea51-58

gaea6[1-8]) MACHINE_ID=gaeac6 ;; ### gaea61-68
gaea6[1-8].ncrc.gov) MACHINE_ID=gaeac6 ;; ### gaea61-68

hfe0[1-9]) MACHINE_ID=hera ;; ### hera01-09
hfe1[0-2]) MACHINE_ID=hera ;; ### hera10-12
Expand Down Expand Up @@ -81,9 +84,12 @@ elif [[ -d /work ]]; then
else
MACHINE_ID=orion
fi
elif [[ -d /gpfs && -d /ncrc ]]; then
# We are on GAEA.
MACHINE_ID=gaea
elif [[ -d /gpfs/f5 ]]; then
# We are on GAEAC5.
MACHINE_ID=gaeac5
elif [[ -d /gpfs/f6 ]]; then
# We are on GAEAC6.
MACHINE_ID=gaeac6
elif [[ -d /data/prod ]]; then
# We are on SSEC's S4
MACHINE_ID=s4
Expand Down
2 changes: 1 addition & 1 deletion ush/load_fv3gfs_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source "${HOMEgfs}/versions/run.ver"
module use "${HOMEgfs}/modulefiles"

case "${MACHINE_ID}" in
"wcoss2" | "hera" | "orion" | "hercules" | "gaea" | "jet" | "s4" | "noaacloud")
"wcoss2" | "hera" | "orion" | "hercules" | "gaeac5" | "gaeac6" | "jet" | "s4" | "noaacloud")
module load "module_base.${MACHINE_ID}"
;;
*)
Expand Down
4 changes: 2 additions & 2 deletions ush/load_ufsda_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ source "${HOMEgfs}/ush/module-setup.sh"
module use "${HOMEgfs}/sorc/gdas.cd/modulefiles"

case "${MACHINE_ID}" in
("hera" | "orion" | "hercules" | "wcoss2")
("hera" | "orion" | "hercules" | "gaeac5" | "gaeac6" | "wcoss2")
module load "${MODS}/${MACHINE_ID}"
ncdump=$( command -v ncdump )
NETCDF=$( echo "${ncdump}" | cut -d " " -f 3 )
export NETCDF
;;
("jet" | "gaea" | "s4" | "acorn")
("jet" | "s4" | "acorn")
echo WARNING: UFSDA NOT SUPPORTED ON THIS PLATFORM
;;
*)
Expand Down
File renamed without changes.
Loading
Loading