From 166bc3953fef5406001b6d61895f8f96d58b75c6 Mon Sep 17 00:00:00 2001 From: David Huber <69919478+DavidHuber-NOAA@users.noreply.github.com> Date: Fri, 31 Jan 2025 18:16:20 +0000 Subject: [PATCH] Update machine.sh for Gaea compute nodes (#1020) Fixes #1017. --- sorc/machine-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sorc/machine-setup.sh b/sorc/machine-setup.sh index 2ee8e1565..1765b5922 100644 --- a/sorc/machine-setup.sh +++ b/sorc/machine-setup.sh @@ -46,7 +46,7 @@ elif [[ -d /scratch1 ]] ; then fi target=hera module purge -elif [[ "$(hostname)" == "gaea5"* && -d /gpfs/f5 ]] ; then +elif [[ "$(hostname)" == "gaea5"* || "$(hostname)" =~ c5n[0-9]+ ]] && [[ -d /gpfs/f5 ]] ; then # We are on GAEAC5. if ( ! eval module help > /dev/null 2>&1 ) ; then # We cannot simply load the module command. The GAEA @@ -58,7 +58,7 @@ elif [[ "$(hostname)" == "gaea5"* && -d /gpfs/f5 ]] ; then fi module reset target=gaeac5 -elif [[ "$(hostname)" == "gaea6"* && -d /gpfs/f6 ]] ; then +elif [[ "$(hostname)" == "gaea6"* || "$(hostname)" =~ c6n[0-9]+ ]] && [[ -d /gpfs/f6 ]] ; then target=gaeac6 source /opt/cray/pe/lmod/8.7.31/init/$__ms_shell elif [[ "$(hostname)" =~ "Orion" || "$(hostname)" =~ "orion" ]]; then