Skip to content

Commit

Permalink
Rectify total number of Thompson MP species and add UFS-Aerosols to S…
Browse files Browse the repository at this point in the history
…2S and S2SW (ufs-community#1118)

* Rectify total number of Thompson MP species
* Implement S2SWA/S2SA build app as the only one enabling prognostic aerosols in fully coupled model.
* Update output_fh documentation.
  • Loading branch information
rmontuoro committed Mar 22, 2022
1 parent af1e026 commit 1bd68ca
Show file tree
Hide file tree
Showing 15 changed files with 3,808 additions and 3,782 deletions.
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 ATMAERO ATMW S2S S2SW HAFS HAFSW HAFS-ALL NG-GODAS)
list(APPEND VALID_APPS ATM ATMAERO ATMW S2S S2SA S2SW S2SWA HAFS HAFSW HAFS-ALL NG-GODAS)
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
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 1 files
+1 −1 ccpp/physics
18 changes: 13 additions & 5 deletions cmake/configure_apps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,27 @@ if(APP MATCHES "^(NG-GODAS)$")
message("Configuring UFS app in (CDEPS) Data Atmosphere mode")
endif()

if(APP MATCHES "^(S2S|S2SW)$")
if(APP MATCHES "^(S2S|S2SA|S2SW|S2SWA)$")
set(APP_MSG "Configuring UFS app in S2S")
set(CMEPS ON CACHE BOOL "Enable CMEPS" FORCE)
set(FMS ON CACHE BOOL "Enable FMS" FORCE)
set(FV3 ON CACHE BOOL "Enable FV3" FORCE)
set(MOM6 ON CACHE BOOL "Enable MOM6" FORCE)
set(CICE6 ON CACHE BOOL "Enable CICE6" FORCE)
set(STOCH_PHYS ON CACHE BOOL "Enable Stochastic Physics" FORCE)
if(APP MATCHES "S2SW")
if(APP MATCHES "^S2SW")
set(WW3 ON CACHE BOOL "Enable WAVEWATCH III" FORCE)
message("Configuring UFS app in S2S with Waves mode")
else()
message("Configuring UFS app in S2S mode")
string(CONCAT APP_MSG ${APP_MSG} " with Waves")
endif()
if(APP MATCHES "A$")
set(UFS_GOCART ON CACHE BOOL "Enable GOCART" FORCE)
if(WW3)
string(CONCAT APP_MSG ${APP_MSG} " and Aerosols")
else()
string(CONCAT APP_MSG ${APP_MSG} " with Aerosols")
endif()
endif()
message("${APP_MSG} mode")
endif()

if(APP MATCHES "^(HAFS|HAFSW|HAFS-ALL)$")
Expand Down
1 change: 1 addition & 0 deletions doc/UsersGuide/source/InputsOutputs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,7 @@ shows the following parameters that can be set in *model_configure* at run-time.
- history file output forecast hours or history file output frequency if the second elelment is -1
- real
- -1 (negative: turn off the option, otherwise overwritten nfhout/nfhout_fh; 6 -1: output every 6 hoursr; 6 9: output history files at fh=6 and 9)
- -1 (negative: turn off the option, otherwise overwritten nfhout/nfhout_fh; 6 -1: output every 6 hoursr; 6 9: output history files at fh=6 and 9. Note: output_fh can only take 277 elements)

:numref:`Table %s <ModelConfigParamsNotChanged>` shows the following parameters in *model_configure* that
are not usually changed.
Expand Down
320 changes: 160 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,070 changes: 533 additions & 537 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

1,048 changes: 524 additions & 524 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

932 changes: 466 additions & 466 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

1,032 changes: 516 additions & 516 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

688 changes: 344 additions & 344 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

1,117 changes: 569 additions & 548 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tests/rt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# S2S tests #
###################################################################################################################################################################################

COMPILE | -DAPP=S2SW -DUFS_GOCART=ON -DCCPP_SUITES=FV3_GFS_v16_coupled_nsstNoahmpUGWPv1,FV3_GFS_v16_coupled_p7_rrtmgp,FV3_GFS_v17_coupled_p8 | - wcoss_cray | fv3 |
COMPILE | -DAPP=S2SWA -DCCPP_SUITES=FV3_GFS_v16_coupled_nsstNoahmpUGWPv1,FV3_GFS_v16_coupled_p7_rrtmgp,FV3_GFS_v17_coupled_p8 | - wcoss_cray | fv3 |
RUN | cpld_control_p8 | - wcoss_cray | fv3 |
RUN | cpld_2threads_p8 | - wcoss_cray | |
RUN | cpld_decomp_p8 | - wcoss_cray jet.intel | |
Expand All @@ -24,7 +24,7 @@ RUN | cpld_restart_c192_p8
RUN | cpld_control_c384_p8 | - wcoss_cray jet.intel | fv3 |
RUN | cpld_restart_c384_p8 | - wcoss_cray jet.intel | | cpld_control_c384_p8

COMPILE | -DAPP=S2S -DDEBUG=ON -DUFS_GOCART=ON -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | - wcoss_cray | fv3 |
COMPILE | -DAPP=S2SA -DDEBUG=ON -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 | - wcoss_cray | fv3 |
RUN | cpld_debug_p8 | - 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 @@ -485,7 +485,7 @@ if [[ $TESTS_FILE =~ '35d' ]] || [[ $TESTS_FILE =~ 'weekly' ]]; then
TEST_35D=true
fi

BL_DATE=20220318
BL_DATE=20220321
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

0 comments on commit 1bd68ca

Please sign in to comment.