Skip to content

Commit 2f1638f

Browse files
Update build scripts on Gaea-C5 to conform with ufs-wx-model and global-workflow (#1361)
After the recent Gaea-C5 OS upgrade, GDASApp fails to build. This issue corrects Gaea-C5 build and updates the build scripts to conform to ufs-wx-model (following ufs-wx-model ufs-community/ufs-weather-model#2448) and eventual global-workflow updates. Refs NOAA-EMC/global-workflow 3011 NOAA-EMC/global-workflow#3011 Refs NOAA-EMC/global-workflow 3032 NOAA-EMC/global-workflow#3032 Resolves #1360
1 parent e9607fc commit 2f1638f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ while getopts "p:t:c:hvdfa" opt; do
7171
done
7272

7373
case ${BUILD_TARGET} in
74-
hera | orion | hercules | wcoss2 | noaacloud | gaea | gaeac6 )
74+
hera | orion | hercules | wcoss2 | noaacloud | gaeac5 | gaeac6 )
7575
echo "Building GDASApp on $BUILD_TARGET"
7676
source $dir_root/ush/module-setup.sh
7777
module use $dir_root/modulefiles
File renamed without changes.

ush/detect_machine.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ case $(hostname -f) in
2121
dlogin0[1-9].dogwood.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### dogwood01-9
2222
dlogin10.dogwood.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### dogwood10
2323

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

2727
gaea6[1-8]) MACHINE_ID=gaeac6 ;; ### gaea61-68
2828
gaea6[1-8].ncrc.gov) MACHINE_ID=gaeac6 ;; ### gaea61-68
@@ -84,9 +84,12 @@ elif [[ -d /work ]]; then
8484
else
8585
MACHINE_ID=orion
8686
fi
87-
elif [[ -d /gpfs && -d /ncrc ]]; then
88-
# We are on GAEA.
89-
MACHINE_ID=gaea
87+
elif [[ -d /gpfs/f5 ]]; then
88+
# We are on GAEAC5.
89+
MACHINE_ID=gaeac5
90+
elif [[ -d /gpfs/f6 ]]; then
91+
# We are on GAEAC6.
92+
MACHINE_ID=gaeac6
9093
elif [[ -d /data/prod ]]; then
9194
# We are on SSEC's S4
9295
MACHINE_ID=s4

0 commit comments

Comments
 (0)