Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CDEPS submodule and CDEPS tests #599

Merged
merged 13 commits into from
May 26, 2021
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
[submodule "CDEPS"]
path = CDEPS-interface/CDEPS
url = https://github.com/NOAA-EMC/CDEPS
branch = emc/develop
branch = develop
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules/Modules)
###############################################################################

# Valid applications and choices
list(APPEND VALID_APPS ATM ATMW S2S S2SW DATM DATM_NEMS)
list(APPEND VALID_APPS ATM ATMW S2S S2SW NG-GODAS NG-GODAS-NEMSDATM)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changes have been made in the NEMS driver to switch these names---it will still use "FRONT_NEMS_DATM" and "FRONT_CDEPS_DATM" which then asks for "model" names nems_datm or datm. It seems we're introducing a lot of inconsistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DeniseWorthen You are correct.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DeniseWorthen My understanding is that this is actually to avoid confusion. in NEMS driver we specify the subcomponent models, not the applications names. Using DATM or NEMS_DATM for both subcomponent and application names could be confusing. Here the NG_GODAS is application name, this application will still define the subcomponents DATM (cdeps datm), MOM6 and CICE6 etc. While before we use DATM as application name and use DATM also as DATM subcomponent along with other subcomponents.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are both NG-GODAS and NG-GODAS-NEMSDATM needed? What's the difference?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NG-GODAS refers to "mom6_cice6_cdeps_datm" application.
NG-GODAS-NEMSDATM refers to "mom_6_cice6_nems_datm" application.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. But do we need both? Didn't we switch to CDEPS, why do we need nems? Are the results different when CDEPS is used compared to NEMS? Are different atm data used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future, NEMS_DATM will be removed from ufs-weather-model. See a related issue at #565.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@junwang-noaa I see, thanks. I do see how DATM is being used two ways (app and component) so this is probably better.

set(APP NONE CACHE BOOL "Application Name")
if(NOT (APP IN_LIST VALID_APPS))
message(FATAL_ERROR "${APP} is not a valid application.\nValid Applications are: ${VALID_APPS}")
Expand Down
6 changes: 3 additions & 3 deletions cmake/configure_apps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ if(APP MATCHES "^(ATM|ATMW)$")
endif()
endif()

if(APP MATCHES "^(DATM|DATM_NEMS)$")
if(APP MATCHES "^(NG-GODAS|NG-GODAS-NEMSDATM)$")
set(CMEPS ON CACHE BOOL "Enable CMEPS" FORCE)
set(FMS ON CACHE BOOL "Enable FMS" FORCE)
set(MOM6 ON CACHE BOOL "Enable MOM6" FORCE)
set(CICE6 ON CACHE BOOL "Enable CICE6" FORCE)
if(APP MATCHES "DATM_NEMS")
if(APP MATCHES "NG-GODAS-NEMSDATM")
set(NEMSdatm ON CACHE BOOL "Enable NEMS DataAtm" FORCE)
message("Configuring UFS app in (NEMS) Data Atmosphere mode")
elseif(APP MATCHES "DATM")
elseif(APP MATCHES "NG-GODAS")
set(CDEPS ON CACHE BOOL "Enable CDEPS" FORCE)
message("Configuring UFS app in (CDEPS) Data Atmosphere mode")
endif()
Expand Down
208 changes: 104 additions & 104 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

754 changes: 377 additions & 377 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

756 changes: 378 additions & 378 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

214 changes: 107 additions & 107 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

776 changes: 388 additions & 388 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

894 changes: 501 additions & 393 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

4,131 changes: 1,955 additions & 2,176 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

457 changes: 226 additions & 231 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

1,206 changes: 710 additions & 496 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions tests/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ if [[ "${MAKE_OPT}" == *"APP=S2SW"* ]]; then
CMAKE_FLAGS="${CMAKE_FLAGS} -DAPP=S2SW -DMOM6SOLO=ON"
fi

if [[ "${MAKE_OPT}" == *"APP=DATM"* ]]; then
CMAKE_FLAGS="${CMAKE_FLAGS} -DAPP=DATM"
if [[ "${MAKE_OPT}" == *"APP=NG-GODAS"* ]]; then
CMAKE_FLAGS="${CMAKE_FLAGS} -DAPP=NG-GODAS"
fi

if [[ "${MAKE_OPT}" == *"APP=DATM_NEMS"* ]]; then
CMAKE_FLAGS="${CMAKE_FLAGS} -DAPP=DATM_NEMS"
if [[ "${MAKE_OPT}" == *"APP=NG-GODAS-NEMSDATM"* ]]; then
CMAKE_FLAGS="${CMAKE_FLAGS} -DAPP=NG-GODAS-NEMSDATM"
fi

CMAKE_FLAGS=$(trim "${CMAKE_FLAGS}")
Expand Down
2 changes: 1 addition & 1 deletion tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ export RESTART_N=${FHMAX}
export CPLMODE='nems_orig_data'
export cap_dbug_flag="0"
export use_coldstart="false"
export use_mommesh="false"
export use_mommesh="true"
export RUNTYPE='startup'
export flux_convergence='0.0'
export flux_iteration='2'
Expand Down
12 changes: 6 additions & 6 deletions tests/rt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ RUN | fv3_gfs_v16_ras_debug
# NEMS Data Atmosphere tests #
###################################################################################################################################################################################

COMPILE | APP=DATM_NEMS | - wcoss_cray | fv3 |
COMPILE | APP=NG-GODAS-NEMSDATM | - wcoss_cray | fv3 |
RUN | datm_control_cfsr | - wcoss_cray | fv3 |
RUN | datm_restart_cfsr | - wcoss_cray | | datm_control_cfsr
RUN | datm_control_gefs | - wcoss_cray | fv3 |
Expand All @@ -184,27 +184,27 @@ RUN | datm_bulk_gefs
RUN | datm_mx025_cfsr | - wcoss_cray gaea.intel | fv3 |
RUN | datm_mx025_gefs | - wcoss_cray | fv3 |

COMPILE | APP=DATM_NEMS DEBUG=Y | - wcoss_cray | fv3 |
COMPILE | APP=NG-GODAS-NEMSDATM DEBUG=Y | - wcoss_cray | fv3 |
RUN | datm_debug_cfsr | - wcoss_cray | fv3 |

###################################################################################################################################################################################
# CDEPS Data Atmosphere tests #
###################################################################################################################################################################################

COMPILE | APP=DATM | - wcoss_cray | fv3 |
COMPILE | APP=NG-GODAS | - wcoss_cray | fv3 |
RUN | datm_cdeps_control_cfsr | - wcoss_cray | fv3 |
RUN | datm_cdeps_restart_cfsr | - wcoss_cray | | datm_cdeps_control_cfsr
RUN | datm_cdeps_control_gefs | - wcoss_cray | fv3 |

RUN | datm_cdeps_bulk_cfsr | - wcoss_cray | fv3 |
RUN | datm_cdeps_bulk_gefs | - wcoss_cray | fv3 |

RUN | datm_cdeps_mx025_cfsr | - wcoss_cray gaea.intel | fv3 |
RUN | datm_cdeps_mx025_cfsr | - wcoss_cray gaea.intel wcoss_dell_p3 orion.intel | fv3 |
RUN | datm_cdeps_mx025_gefs | - wcoss_cray | fv3 |

RUN | datm_cdeps_multiple_files_cfsr | - wcoss_cray | fv3 |
RUN | datm_cdeps_multiple_files_cfsr | - wcoss_cray | |

COMPILE | APP=DATM DEBUG=Y | - wcoss_cray | fv3 |
COMPILE | APP=NG-GODAS DEBUG=Y | - wcoss_cray | fv3 |
RUN | datm_cdeps_debug_cfsr | - wcoss_cray | fv3 |

###################################################################################################################################################################################
Expand Down
2 changes: 1 addition & 1 deletion tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ if [[ $TESTS_FILE =~ '35d' ]]; then
TEST_35D=true
fi

BL_DATE=20210524
BL_DATE=20210526
if [[ $MACHINE_ID = hera.* ]] || [[ $MACHINE_ID = orion.* ]] || [[ $MACHINE_ID = cheyenne.* ]] || [[ $MACHINE_ID = gaea.* ]] || [[ $MACHINE_ID = jet.* ]]; then
RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-${BL_DATE}/${RT_COMPILER^^}}
else
Expand Down
4 changes: 2 additions & 2 deletions tests/rt_35d.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# CPLD Benchmark 35d tests #
###############################################################################################################################################################################

#COMPILE | APP=S2SW SUITES=FV3_GFS_v16_coupled FV3_GFS_v16_coupled_noahmp,FV3_GFS_v16_coupled_nsstNoahmp | + hera.intel orion.intel | fv3 | |
COMPILE | APP=S2SW SUITES=FV3_GFS_v16_coupled,FV3_GFS_v16_coupled_noahmp,FV3_GFS_v16_coupled_nsstNoahmp | + hera.intel orion.intel | fv3 | |
DeniseWorthen marked this conversation as resolved.
Show resolved Hide resolved
#RUN | cpld_bmarkfrac_wave_v16_35d | | fv3 | | 2012010100
#RUN | cpld_bmarkfrac_wave_v16_35d | | fv3 | | 2012040100
#RUN | cpld_bmarkfrac_wave_v16_35d | | fv3 | | 2012070100
Expand All @@ -12,7 +12,7 @@
#RUN | cpld_bmarkfrac_wave_v16_35d | | fv3 | | 2013070100
#RUN | cpld_bmarkfrac_wave_v16_35d | | fv3 | | 2013100100

COMPILE | APP=S2SW SUITES=FV3_GFS_v16_coupled FV3_GFS_v16_coupled_noahmp,FV3_GFS_v16_coupled_nsstNoahmp | + hera.intel orion.intel +gaea.intel | fv3 | |
COMPILE | APP=S2SW SUITES=FV3_GFS_v16_coupled,FV3_GFS_v16_coupled_noahmp,FV3_GFS_v16_coupled_nsstNoahmp | + hera.intel orion.intel +gaea.intel | fv3 | |
RUN | cpld_bmarkfrac_wave_v16_noahmp_35d | | fv3 | | 2012010100
RUN | cpld_bmarkfrac_wave_v16_noahmp_35d | | fv3 | | 2012040100
RUN | cpld_bmarkfrac_wave_v16_noahmp_35d | | fv3 | | 2012070100
Expand Down
2 changes: 1 addition & 1 deletion tests/rt_gnu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ COMPILE | APP=S2S SUITES=FV3_GFS_2017_coupled,FV3_GFS_2017_satmedmf_coupled,FV3_
# Data Atmosphere tests #
##################################################################################################################################################################

COMPILE | APP=DATM_NEMS | | fv3 |
COMPILE | APP=NG-GODAS-NEMSDATM | | fv3 |