Skip to content

Commit

Permalink
Add a cdeps test and update mom6, fv3, and weekly tests (#1136)
Browse files Browse the repository at this point in the history
Co-authored-by: jiandewang <jiande.wang@noaa.gov>
Co-authored-by: WenMeng-NOAA <48260754+WenMeng-NOAA@users.noreply.github.com>
Co-authored-by: DusanJovic-NOAA <dusan.jovic@noaa.gov>
  • Loading branch information
4 people committed Mar 24, 2022
1 parent 1bd68ca commit a46c7ed
Show file tree
Hide file tree
Showing 16 changed files with 4,005 additions and 3,885 deletions.
5 changes: 4 additions & 1 deletion CDEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# CDEPS compiler flags
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
set(CMAKE_Fortran_FLAGS "-g -fbacktrace -ffree-line-length-none")
if(${CMAKE_Fortran_COMPILER_VERSION} VERSION_GREATER_EQUAL 10)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-mismatch -fallow-invalid-boz")
endif()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -fcheck=bounds -ffpe-trap=invalid,zero,overflow,underflow" )
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
Expand Down Expand Up @@ -69,7 +72,7 @@ add_dependencies(docn share streams dshr)
set_target_properties(docn PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(docn PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>)
target_link_libraries(docn PRIVATE dshr share streams)
target_link_libraries(docn PRIVATE esmf)
target_link_libraries(docn PRIVATE esmf PIO::PIO_Fortran)

# CDEPS/drof
add_library(drof OBJECT ${cdeps_drof_files})
Expand Down
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 1 files
+1 −1 upp
2 changes: 1 addition & 1 deletion MOM6-interface/MOM6
334 changes: 174 additions & 160 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

1,036 changes: 518 additions & 518 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

1,022 changes: 511 additions & 511 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

332 changes: 173 additions & 159 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

1,046 changes: 523 additions & 523 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

928 changes: 464 additions & 464 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

1,036 changes: 518 additions & 518 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

687 changes: 342 additions & 345 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

1,425 changes: 752 additions & 673 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

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

BL_DATE=20220321
BL_DATE=20220322
if [[ $MACHINE_ID = hera.* ]] || [[ $MACHINE_ID = orion.* ]] || [[ $MACHINE_ID = cheyenne.* ]] || [[ $MACHINE_ID = gaea.* ]] || [[ $MACHINE_ID = jet.* ]] || [[ $MACHINE_ID = s4.* ]]; then
RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-${BL_DATE}/${RT_COMPILER^^}}
else
Expand Down
7 changes: 7 additions & 0 deletions tests/rt_gnu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,10 @@ RUN | cpld_control_c96_noaero_p8

COMPILE | -DAPP=S2S -DDEBUG=ON -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | | fv3 |
RUN | cpld_debug_noaero_p8 | | fv3 |

##################################################################################################################################################################
# CDEPS Data Atmosphere test #
##################################################################################################################################################################

COMPILE | -DAPP=NG-GODAS | | fv3 |
RUN | datm_cdeps_control_cfsr | | fv3 |
25 changes: 15 additions & 10 deletions tests/rt_weekly.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
# Weekly tests #
###################################################################################################################################################################################

COMPILE | -DAPP=ATM -DCCPP_SUITES=FV3_GFS_v16,FV3_GFS_v16_nsstNoahmpUGWPv1 -D32BIT=ON | | fv3 |
RUN | control_c768 | - wcoss_cray | fv3 |
COMPILE | -DAPP=ATM -DCCPP_SUITES=FV3_GFS_v16,FV3_GFS_v16_nsstNoahmpUGWPv1 -D32BIT=ON | + hera.intel | fv3 |
RUN | control_c768 | + hera.intel | fv3 |

# CPLD Benchmark 35d tests
# The length of forecast is 5 days for the weekly tests.
COMPILE | -DAPP=S2SW -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | + hera.intel | fv3 | |
RUN | cpld_bmark_p8_35d | | fv3 | | 2012010100
RUN | cpld_bmark_p8_35d | | fv3 | | 2012040100
RUN | cpld_bmark_p8_35d | | fv3 | | 2012070100
RUN | cpld_bmark_p8_35d | | fv3 | | 2012100100
RUN | cpld_bmark_p8_35d | | fv3 | | 2013010100
RUN | cpld_bmark_p8_35d | | fv3 | | 2013040100
RUN | cpld_bmark_p8_35d | | fv3 | | 2013070100
RUN | cpld_bmark_p8_35d | | fv3 | | 2013100100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2012010100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2012040100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2012070100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2012100100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2013010100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2013040100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2013070100
RUN | cpld_bmark_p8_35d | + hera.intel | fv3 | | 2013100100
# The coupled p8 tests
COMPILE | -DAPP=S2SW -DUFS_GOCART=ON -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | + jet.intel | fv3 |
RUN | cpld_bmark_p8 | + jet.intel | fv3 |
RUN | cpld_control_c192_p8 | + jet.intel | fv3 |
RUN | cpld_control_c384_p8 | + jet.intel | fv3 |
1 change: 1 addition & 0 deletions tests/tests/cpld_control_c192_p8
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export LIST_FILES="sfcf036.tile1.nc \

export_fv3
export_cpl
export WLCLK=48

export DAYS=1.5
export FHMAX=36
Expand Down

0 comments on commit a46c7ed

Please sign in to comment.