From dc0269ea142acce2eaacb917d5bbe591262d29a0 Mon Sep 17 00:00:00 2001 From: Biju Thomas Date: Wed, 18 Dec 2024 12:16:06 -0500 Subject: [PATCH] Rename Gaea C6 platform name from gaeaC6 to gaeac6 consistent with UFS name convention --- modulefiles/{gsi_gaeaC6.intel.lua => gsi_gaeac6.intel.lua} | 0 ush/detect_machine.sh | 4 ++-- ush/module-setup.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename modulefiles/{gsi_gaeaC6.intel.lua => gsi_gaeac6.intel.lua} (100%) diff --git a/modulefiles/gsi_gaeaC6.intel.lua b/modulefiles/gsi_gaeac6.intel.lua similarity index 100% rename from modulefiles/gsi_gaeaC6.intel.lua rename to modulefiles/gsi_gaeac6.intel.lua diff --git a/ush/detect_machine.sh b/ush/detect_machine.sh index acc682a8c..85b35e0c0 100755 --- a/ush/detect_machine.sh +++ b/ush/detect_machine.sh @@ -44,7 +44,7 @@ case $(hostname -f) in discover3[1-5].prv.cube) MACHINE_ID=discover ;; ### discover31-35 *) MACHINE_ID=UNKNOWN ;; # Unknown platform - gaea6[1-8].ncrc.gov) MACHINE_ID=gaeaC6 ;; ### Gaea C6 61-68 + gaea6[1-8].ncrc.gov) MACHINE_ID=gaeac6 ;; ### Gaea C6 61-68 esac if [[ ${MACHINE_ID} == "UNKNOWN" ]]; then @@ -88,7 +88,7 @@ elif [[ -d /gpfs/f5 && -d /ncrc ]]; then MACHINE_ID=gaea elif [[ -d /gpfs/f6 && -d /ncrc ]]; then # We are on GAEA C6. - MACHINE_ID=gaeaC6 + MACHINE_ID=gaeac6 elif [[ -d /data/prod ]]; then # We are on SSEC's S4 MACHINE_ID=s4 diff --git a/ush/module-setup.sh b/ush/module-setup.sh index 3fbb615c0..8edd208ce 100755 --- a/ush/module-setup.sh +++ b/ush/module-setup.sh @@ -49,7 +49,7 @@ elif [[ $MACHINE_ID = stampede* ]] ; then elif [[ $MACHINE_ID = gaea* ]] ; then # We are on GAEA. - if [[ $MACHINE_ID = gaeaC6 ]]; then + if [[ $MACHINE_ID = gaeac6 ]]; then source /opt/cray/pe/lmod/8.7.31/init/sh else if ( ! eval module help > /dev/null 2>&1 ) ; then