From 3e7b6d5cc5eead3f3e14b831481059ff14e82008 Mon Sep 17 00:00:00 2001 From: MinsukJi-NOAA Date: Sat, 11 Jul 2020 00:27:36 +0000 Subject: [PATCH 1/3] enable debug build. fix to remove errors --- configuration/scripts/forapps/ufs/comp_ice.backend.clean | 8 ++++---- .../scripts/forapps/ufs/comp_ice.backend.libcice | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/configuration/scripts/forapps/ufs/comp_ice.backend.clean b/configuration/scripts/forapps/ufs/comp_ice.backend.clean index 7eef2ed1a..7261f2942 100755 --- a/configuration/scripts/forapps/ufs/comp_ice.backend.clean +++ b/configuration/scripts/forapps/ufs/comp_ice.backend.clean @@ -10,10 +10,10 @@ setenv OBJDIR $EXEDIR/compile ; if !(-d $OBJDIR) mkdir -p $OBJDIR if (${SITE} =~ cheyenne*) then setenv ARCH cheyenne_intel -#else if (${SITE} =~ Orion*) then -# setenv ARCH orion_intel -#else if (${SITE} =~ hera*) then -# setenv ARCH hera_intel +else if (${SITE} =~ Orion*) then + setenv ARCH orion_intel +else if (${SITE} =~ hera*) then + setenv ARCH hera_intel else echo "CICE6 ${0}: ERROR in ARCH setup, ${hname}" exit -2 diff --git a/configuration/scripts/forapps/ufs/comp_ice.backend.libcice b/configuration/scripts/forapps/ufs/comp_ice.backend.libcice index 886e0a3ff..c720d1eed 100755 --- a/configuration/scripts/forapps/ufs/comp_ice.backend.libcice +++ b/configuration/scripts/forapps/ufs/comp_ice.backend.libcice @@ -68,9 +68,11 @@ endif # Build in debug mode. If DEBUG=Y, enable DEBUG compilation. This # flag is set in ${ROOTDIR}/coupledFV3_MOM6_CICE_debug.appBuilder file. if (! $?DEBUG) then - setenv ICE_BLDDEBUG true + setenv ICE_BLDDEBUG false else if ($DEBUG != "Y") then + setenv ICE_BLDDEBUG true + else setenv ICE_BLDDEBUG false endif endif From ca7f15375ed157a49e6b1e785e9ec7b681776aff Mon Sep 17 00:00:00 2001 From: MinsukJi-NOAA Date: Sat, 11 Jul 2020 01:16:54 +0000 Subject: [PATCH 2/3] fix an error in comp_ice.backend.libcice --- configuration/scripts/forapps/ufs/comp_ice.backend.libcice | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/scripts/forapps/ufs/comp_ice.backend.libcice b/configuration/scripts/forapps/ufs/comp_ice.backend.libcice index c720d1eed..a408cc7d2 100755 --- a/configuration/scripts/forapps/ufs/comp_ice.backend.libcice +++ b/configuration/scripts/forapps/ufs/comp_ice.backend.libcice @@ -70,7 +70,7 @@ endif if (! $?DEBUG) then setenv ICE_BLDDEBUG false else - if ($DEBUG != "Y") then + if ($DEBUG == "Y") then setenv ICE_BLDDEBUG true else setenv ICE_BLDDEBUG false From ce47f5b6a1929f485606afecf35aa4ef332f39b6 Mon Sep 17 00:00:00 2001 From: MinsukJi-NOAA Date: Mon, 13 Jul 2020 21:19:33 +0000 Subject: [PATCH 3/3] change Orion to orion for machine identification --- configuration/scripts/forapps/ufs/comp_ice.backend.clean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/scripts/forapps/ufs/comp_ice.backend.clean b/configuration/scripts/forapps/ufs/comp_ice.backend.clean index 7261f2942..823f1f586 100755 --- a/configuration/scripts/forapps/ufs/comp_ice.backend.clean +++ b/configuration/scripts/forapps/ufs/comp_ice.backend.clean @@ -10,7 +10,7 @@ setenv OBJDIR $EXEDIR/compile ; if !(-d $OBJDIR) mkdir -p $OBJDIR if (${SITE} =~ cheyenne*) then setenv ARCH cheyenne_intel -else if (${SITE} =~ Orion*) then +else if (${SITE} =~ orion*) then setenv ARCH orion_intel else if (${SITE} =~ hera*) then setenv ARCH hera_intel