Skip to content

Commit

Permalink
RRTMGP refactoring (#1571)
Browse files Browse the repository at this point in the history
* RRTMGP refactoring

* Added RRTMGP p8 coupled RT. Update other GP RTs.

* Adding GP physics blocking to UFS GP RT configurations

* Trim old RRTMGP RTs

* Interface changes for SP build in GP

Co-authored-by: JONG KIM <jong.kim@noaa.gov>
Co-authored-by: Brian Curtis <brian.curtis@noaa.gov>
  • Loading branch information
3 people authored Feb 7, 2023
1 parent 130f857 commit 30b847d
Show file tree
Hide file tree
Showing 22 changed files with 6,369 additions and 7,320 deletions.
1,664 changes: 798 additions & 866 deletions tests/RegressionTests_acorn.intel.log

Large diffs are not rendered by default.

428 changes: 214 additions & 214 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

1,997 changes: 936 additions & 1,061 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

1,808 changes: 870 additions & 938 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

558 changes: 273 additions & 285 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

1,842 changes: 887 additions & 955 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

1,684 changes: 808 additions & 876 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

1,842 changes: 887 additions & 955 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

1,442 changes: 687 additions & 755 deletions tests/RegressionTests_wcoss2.intel.log

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ export DOGP_CLDOPTICS_LUT=.false.
export DOGP_LWSCAT=.false.
export USE_LW_JACOBIAN=.false.
export DAMP_LW_FLUXADJ=.false.
export RRTMGP_LW_PHYS_BLKSZ=2
export ICLOUD=0
export IAER=111
export ICLIQ_SW=1
Expand Down
1 change: 1 addition & 0 deletions tests/parm/control.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ deflate_level=1
rrtmgp_nGptsLW = 128
rrtmgp_nBandsLW = 16
rrtmgp_nBandsSW = 14
rrtmgp_lw_phys_blksz = 16
doGP_cldoptics_LUT = @[DOGP_CLDOPTICS_LUT]
doGP_lwscat = @[DOGP_LWSCAT]
progsigma = @[PROGSIGMA]
Expand Down
1 change: 1 addition & 0 deletions tests/parm/cpld_control.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ deflate_level=1
rrtmgp_nBandsSW = 14
doGP_cldoptics_LUT = @[DOGP_CLDOPTICS_LUT]
doGP_lwscat = @[DOGP_LWSCAT]
doGP_sgs_cnv = @[DOGP_SGS_CNV]
use_med_flux = @[USE_MED_FLUX]
frac_grid = @[FRAC_GRID]
cplchm = @[CPLCHM]
Expand Down
8 changes: 3 additions & 5 deletions tests/rt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ RUN | regional_netcdf_parallel
RUN | regional_2dwrtdecomp | | |
RUN | regional_wofs | | fv3 |

COMPILE | -DAPP=ATM -DCCPP_SUITES=FV3_RAP,FV3_RAP_RRTMGP,FV3_RAP_sfcdiff,FV3_HRRR,FV3_HRRR_smoke,FV3_RRFS_v1beta,FV3_RRFS_v1nssl -D32BIT=ON | | fv3 |
COMPILE | -DAPP=ATM -DCCPP_SUITES=FV3_RAP,FV3_RAP_sfcdiff,FV3_HRRR,FV3_HRRR_smoke,FV3_RRFS_v1beta,FV3_RRFS_v1nssl -D32BIT=ON | | fv3 |

RUN | rap_control | | fv3 |
RUN | rap_rrtmgp | | fv3 |
RUN | regional_spp_sppt_shum_skeb | | fv3 |
RUN | rap_decomp | | |
RUN | rap_2threads | | |
Expand Down Expand Up @@ -125,7 +124,7 @@ RUN | control_wam
# DEBUG ATM tests #
###################################################################################################################################################################################

COMPILE | -DAPP=ATM -DDEBUG=ON -D32BIT=ON -DCCPP_SUITES=FV3_HRRR,FV3_GFS_v16,FV3_GFS_v16_csawmg,FV3_GFS_v16_ras,FV3_GFS_v17_p8,FV3_GFS_v15_thompson_mynn_lam3km,FV3_RAP,FV3_HRRR,FV3_RAP_unified_ugwp,FV3_RAP_cires_ugwp,FV3_RAP_flake,FV3_RAP_noah,FV3_RAP_RRTMGP,FV3_RAP_sfcdiff,FV3_RAP_noah_sfcdiff_cires_ugwp,FV3_RRFS_v1beta | | fv3 |
COMPILE | -DAPP=ATM -DDEBUG=ON -D32BIT=ON -DCCPP_SUITES=FV3_HRRR,FV3_GFS_v16,FV3_GFS_v16_csawmg,FV3_GFS_v16_ras,FV3_GFS_v17_p8,FV3_GFS_v15_thompson_mynn_lam3km,FV3_RAP,FV3_HRRR,FV3_RAP_unified_ugwp,FV3_RAP_cires_ugwp,FV3_RAP_flake,FV3_RAP_noah,FV3_RAP_sfcdiff,FV3_RAP_noah_sfcdiff_cires_ugwp,FV3_RRFS_v1beta | | fv3 |

RUN | rrfs_conus13km_hrrr_warm_debug | | fv3 |
RUN | rrfs_conus13km_radar_tten_warm_debug | | fv3 |
Expand All @@ -152,7 +151,6 @@ RUN | rap_lndp_debug
RUN | rap_flake_debug | | fv3 |
RUN | rap_progcld_thompson_debug | | fv3 |
RUN | rap_noah_debug | | fv3 |
RUN | rap_rrtmgp_debug | | fv3 |
RUN | rap_sfcdiff_debug | | fv3 |
RUN | rap_noah_sfcdiff_cires_ugwp_debug | | fv3 |
RUN | rrfs_v1beta_debug | | fv3 |
Expand Down Expand Up @@ -249,7 +247,7 @@ RUN | datm_cdeps_lnd_gswp3_rst
# ATM-LND tests, -D32BIT=ON has issue and NoahMP reuires r8 libraries #
###################################################################################################################################################################################

COMPILE | -DAPP=ATML -DCCPP_SUITES=FV3_GFS_v16,FV3_GFS_v15_thompson_mynn,FV3_GFS_v17_p8,FV3_GFS_v17_p8_rrtmgp,FV3_GFS_v15_thompson_mynn_lam3km | | fv3 |
COMPILE | -DAPP=ATML -DCCPP_SUITES=FV3_GFS_v16,FV3_GFS_v15_thompson_mynn,FV3_GFS_v17_p8,FV3_GFS_v15_thompson_mynn_lam3km | | fv3 |
RUN | control_p8_atmlnd_sbs | | fv3 |

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

BL_DATE=20230126

BL_DATE=20230201

RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-${BL_DATE}/${RT_COMPILER^^}}

Expand Down
40 changes: 0 additions & 40 deletions tests/tests/control_rrtmgp

This file was deleted.

41 changes: 0 additions & 41 deletions tests/tests/control_rrtmgp_2threads

This file was deleted.

51 changes: 0 additions & 51 deletions tests/tests/control_rrtmgp_c192

This file was deleted.

37 changes: 0 additions & 37 deletions tests/tests/control_rrtmgp_debug

This file was deleted.

67 changes: 0 additions & 67 deletions tests/tests/rap_progcld_thompson_rrtmgp_debug

This file was deleted.

Loading

0 comments on commit 30b847d

Please sign in to comment.