Skip to content

Commit

Permalink
Update machine.sh for Gaea compute nodes (ufs-community#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA authored Jan 31, 2025
1 parent c24632c commit 166bc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sorc/machine-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 166bc39

Please sign in to comment.