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 FV3 (Thompson MP and RRTMGP), CMEPS, documentation and CI #619

Merged
merged 123 commits into from
Jul 12, 2021
Merged
Show file tree
Hide file tree
Changes from 122 commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
7b826d4
update FV3
DeniseWorthen Mar 27, 2021
cea6fc6
update hera.intel modulefiles for testing
DeniseWorthen Mar 27, 2021
071275b
Revert "update hera.intel modulefiles for testing"
DeniseWorthen Mar 27, 2021
4db2ff2
Revert "update FV3"
DeniseWorthen Mar 27, 2021
5a8d4b6
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Mar 30, 2021
09716fe
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Mar 31, 2021
f778ec2
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 5, 2021
3ae6d69
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 9, 2021
f187e64
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 10, 2021
94f5e67
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 12, 2021
4100179
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 15, 2021
42d1a64
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 16, 2021
8a5575b
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 19, 2021
9a06325
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 20, 2021
6ba165f
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 21, 2021
1602558
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 22, 2021
2208dea
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 26, 2021
217e3f0
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 27, 2021
c553a61
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 28, 2021
52625f5
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 30, 2021
a248612
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Apr 30, 2021
9a80b95
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 3, 2021
2ad32ab
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 5, 2021
258dc4e
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 7, 2021
b02d3d8
Added more safeguards against out-of-bounds temperature to GP inputs.…
dustinswales May 10, 2021
20210f7
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 10, 2021
a3cae10
Updated FV3/ccpp-physics.
dustinswales May 11, 2021
d23b701
Add vetical decay to impact of flux adjustment above threshold.
dustinswales May 11, 2021
750b914
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 12, 2021
4f02568
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 13, 2021
a3fd6ad
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 14, 2021
910159e
First commit. Add RT and UT to user guide section section 3.4
MinsukJi-NOAA May 14, 2021
4a082c0
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 18, 2021
8ff5a46
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 21, 2021
a66de98
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 21, 2021
0474dd1
Merge remote-tracking branch 'upstream/develop' into feature/readthed…
MinsukJi-NOAA May 24, 2021
e76dd2c
Added logistic function to damp the LW flux adjustment with height. A…
dustinswales May 24, 2021
d1693ba
Reorganized RRTMGP aerosol optics.
dustinswales May 24, 2021
9d13add
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 25, 2021
3f8b1d5
Bug fix. Add transition to HR adjustment.
dustinswales May 25, 2021
41e1e70
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 26, 2021
637e857
Updated default nml values for c192l127 GP RT.
dustinswales May 27, 2021
9c44cf0
Cleanup for PR review
dustinswales May 27, 2021
a04c704
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen May 29, 2021
52f688b
update CMEPS for escompPR
DeniseWorthen Jun 1, 2021
2c312c6
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jun 2, 2021
ceaf7ea
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jun 3, 2021
7412c78
Changes for L127 control
MinsukJi-NOAA Jun 3, 2021
9140275
Do not write HF data to save disk space
MinsukJi-NOAA Jun 3, 2021
a90debe
Change output to 6 hours to save disk space. Wait before docker rmi
MinsukJi-NOAA Jun 4, 2021
92e4e91
Add control to CI
MinsukJi-NOAA Jun 4, 2021
e32547f
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jun 4, 2021
128a986
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jun 8, 2021
9666be5
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jun 9, 2021
dd6b3cd
Modify builing and running the UFS weather model
MinsukJi-NOAA Jun 9, 2021
b734ea8
Merge remote-tracking branch 'upstream/develop' into feature/readthed…
MinsukJi-NOAA Jun 9, 2021
cf494c7
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jun 10, 2021
2e74cf4
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jun 11, 2021
f2108e4
Merge branch 'develop' into feature/updcmeps
DeniseWorthen Jun 11, 2021
e172ab5
update CMEPS
DeniseWorthen Jun 11, 2021
cb7787d
remove ESMF > 8 statements from CMakeLists.txt
DeniseWorthen Jun 11, 2021
2718b15
Merge branch 'ufs-community:develop' into develop
DeniseWorthen Jun 14, 2021
70d196b
Make changes to address review comments
MinsukJi-NOAA Jun 14, 2021
fc38c8f
Merge branch 'develop' into feature/updcmeps
DeniseWorthen Jun 14, 2021
98b16bd
Remove diag_table and data_table from the text
MinsukJi-NOAA Jun 15, 2021
c3e5abe
update fv3
ericaligo-NOAA Jun 15, 2021
8438624
Recude control dbg to 1hr fcst
MinsukJi-NOAA Jun 16, 2021
afebd49
To save testing time, do not remove data image since hdd is now large…
MinsukJi-NOAA Jun 16, 2021
b240ad4
Merge remote-tracking branch 'upstream/develop' into feature/ci-control
MinsukJi-NOAA Jun 16, 2021
c306bbf
Merge remote-tracking branch 'upstream/develop' into feature/readthed…
MinsukJi-NOAA Jun 16, 2021
c00af41
Merge branch 'ufs-community:develop' into develop
DeniseWorthen Jun 17, 2021
265d707
Fix HF output for control dbg. Add cpld dbg
MinsukJi-NOAA Jun 17, 2021
b41e466
Remove 32BIT for DEBUG
MinsukJi-NOAA Jun 17, 2021
0e75582
Change no of instances to 10 (will take effect in next PR)
MinsukJi-NOAA Jun 17, 2021
810fe0a
Change LIST_FILES for cpld dbg
MinsukJi-NOAA Jun 17, 2021
7102b14
Merge branch 'ufs-community:develop' into develop
DeniseWorthen Jun 17, 2021
0b8b9e2
Update ubuntu-hpc container for g2, g2tmpl, upp
MinsukJi-NOAA Jun 17, 2021
d24ed2a
Remove WRITE_DOPOST modification since control now working
MinsukJi-NOAA Jun 17, 2021
ce94b1a
Fix RESTART_N and RESTART_INTERVAL
MinsukJi-NOAA Jun 17, 2021
2962cdc
Merge remote-tracking branch 'upstream/develop' into feature/ci-control
MinsukJi-NOAA Jun 17, 2021
1635b5a
Update .gitmodules and submodule pointer for fv3atm for code review a…
DomHeinzeller Jun 22, 2021
9719841
Add new regression test control_thompson_extdiag_debug
climbfuji Jun 22, 2021
0b515b9
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Jun 22, 2021
c583da8
Address reviewer's comment
MinsukJi-NOAA Jun 23, 2021
f5bc3e4
Merge remote-tracking branch 'upstream/develop' into feature/readthed…
MinsukJi-NOAA Jun 23, 2021
5fabb97
Update submodule pointer for fv3atm
climbfuji Jun 23, 2021
d2545b1
Update submodule pointer for fv3atm
climbfuji Jun 23, 2021
c440f2e
Update submodule pointer for fv3atm
climbfuji Jun 23, 2021
695d87a
Merge branch 'develop' into feature/updcmeps
DeniseWorthen Jun 24, 2021
b239304
update CMEPS submodule
DeniseWorthen Jun 24, 2021
3d86e14
Merge remote-tracking branch 'upstream/develop' into develop
DeniseWorthen Jul 1, 2021
cf9a3a6
Merge branch 'develop' into feature/updcmeps
DeniseWorthen Jul 1, 2021
1645acd
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Jul 1, 2021
90a699b
Update submodule pointer for fv3atm
climbfuji Jul 1, 2021
49619b9
Comment out extended diagnostics vts1, txri, txrc
climbfuji Jul 2, 2021
8345e50
Merge branch 'hotfix_AddPLimitToLWJacAdj' of https://github.com/dusti…
climbfuji Jul 2, 2021
f536405
Regression test updates for regional RRTMGP runs
climbfuji Jul 2, 2021
e887bae
Temporary update of tests/fv3_conf/control_run.IN to copy correct dia…
climbfuji Jul 2, 2021
e43012e
Update submodule pointer for fv3atm
climbfuji Jul 2, 2021
31032ff
Merge remote-tracking branch 'origin/feature/readthedocs-rt-ut' into …
MinsukJi-NOAA Jul 6, 2021
1df0498
Merge remote-tracking branch 'upstream/develop' into feature/ci-control
MinsukJi-NOAA Jul 6, 2021
15c47f1
Remove docker volume before start
MinsukJi-NOAA Jul 6, 2021
0227311
Add GOCART to repository up-to-date check
MinsukJi-NOAA Jul 6, 2021
f0e1191
Merge remote-tracking branch 'denise/feature/updcmeps' into feature/c…
MinsukJi-NOAA Jul 6, 2021
4f824e1
Merge remote-tracking branch 'dom/thompson_ext_diag_dom' into feature…
MinsukJi-NOAA Jul 6, 2021
2b0ae64
revert temporary work-around in control_run.IN
DeniseWorthen Jul 7, 2021
dbe6eef
Merge ufs-weather-model develop branch
MinsukJi-NOAA Jul 7, 2021
4402343
Update CDEPS to the latest
MinsukJi-NOAA Jul 7, 2021
2660f8e
Change BL_DATE to 20210708
MinsukJi-NOAA Jul 8, 2021
12a15ec
Update bit and dbg build options in utest
MinsukJi-NOAA Jul 8, 2021
44e5da2
Update documentation for build opt changes
MinsukJi-NOAA Jul 8, 2021
251594f
Add wcoss cray RT logs: passed
MinsukJi-NOAA Jul 8, 2021
2e66c54
RT JOBS PASSED: orion.intel. Log file uploaded.
BrianCurtis-NOAA Jul 8, 2021
ce0a33b
RT JOBS PASSED: hera.intel. Log file uploaded.
BrianCurtis-NOAA Jul 8, 2021
03d0c8c
RT JOBS PASSED: gaea.intel. Log file uploaded.
BrianCurtis-NOAA Jul 8, 2021
030e6aa
RT JOBS PASSED: hera.gnu. Log file uploaded.
BrianCurtis-NOAA Jul 8, 2021
bac7e0e
Add wcoss dell p3 RT log: passed
MinsukJi-NOAA Jul 8, 2021
32c084b
RT JOBS PASSED: cheyenne.gnu. Log file uploaded.
BrianCurtis-NOAA Jul 8, 2021
83eefac
add cheyenne.intel log
DeniseWorthen Jul 8, 2021
4dfc4f6
Merge branch 'feature/ci-control' of https://github.com/MinsukJi-NOAA…
DeniseWorthen Jul 8, 2021
ae17c0f
RT JOBS PASSED: jet.intel. Log file uploaded.
BrianCurtis-NOAA Jul 9, 2021
cc3785c
Revert CMEPS pointer to NOAA-EMC/CMEPS/emc/develop
MinsukJi-NOAA Jul 9, 2021
1adf594
Revert FV3 submodule and pointer
MinsukJi-NOAA Jul 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/aux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
base_url: $GITHUB_API_URL/repos/$GITHUB_REPOSITORY/actions/runs
AUTH: ${{ secrets.GITHUB_TOKEN }}
aws_instance_id: ${{ secrets.AWS_INSTANCE_ID }}
no_instances: 6
no_instances: 10


jobs:
Expand Down
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
url = https://github.com/climbfuji/fv3atm
branch = thompson_ext_diag_dom
[submodule "NEMS"]
path = NEMS
url = https://github.com/NOAA-EMC/NEMS
Expand Down
4 changes: 0 additions & 4 deletions CMEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,9 @@ list(APPEND _mediator_files
CMEPS/mediator/med_phases_post_rof_mod.F90
CMEPS/mediator/med_phases_post_wav_mod.F90)

list(APPEND _mediator_defs ESMF_VERSION_MAJOR=${ESMF_VERSION_MAJOR}
ESMF_VERSION_MINOR=${ESMF_VERSION_MINOR})

### Create target library and set PUBLIC interfaces on the library
add_library(cmeps STATIC ${_nems_util_files} ${_mediator_files})
set_target_properties(cmeps PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_compile_definitions(cmeps PUBLIC "${_mediator_defs}")
target_include_directories(cmeps PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
$<INSTALL_INTERFACE:mod>)
target_link_libraries(cmeps PUBLIC esmf
Expand Down
354 changes: 288 additions & 66 deletions doc/UsersGuide/source/BuildingAndRunning.rst

Large diffs are not rendered by default.

231 changes: 122 additions & 109 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

826 changes: 436 additions & 390 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

691 changes: 352 additions & 339 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

231 changes: 122 additions & 109 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

721 changes: 367 additions & 354 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

677 changes: 345 additions & 332 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

707 changes: 360 additions & 347 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

379 changes: 196 additions & 183 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

721 changes: 367 additions & 354 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From noaaemc/ubuntu-hpc:v1.3b
From noaaemc/ubuntu-hpc:v1.4b

ENV HOME=/home/builder
COPY --chown=builder:builder . $HOME/ufs-weather-model
Expand Down
6 changes: 3 additions & 3 deletions tests/ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ if [ $BUILD = "true" ]; then

elif [ $RUN == "true" ]; then

docker run -d --rm -v DataVolume:/tmp minsukjinoaa/input-data:20210528 \
&& docker rmi -f minsukjinoaa/input-data:20210528
docker volume rm -f DataVolume >/dev/null &&
docker run -d --rm -v DataVolume:/tmp minsukjinoaa/input-data:20210528

docker create -u builder -e "CI_TEST=true" -e "USER=builder" \
-e "RT_MACHINE=linux.gnu" -e "RT_COMPILER=gnu" \
-w "/home/builder/ufs-weather-model/tests" \
-v DataVolume:/home/builder/data/NEMSfv3gfs/input-data-20210528 \
--shm-size=512m --name my-container noaaemc/ubuntu-hpc:v1.3b \
--shm-size=512m --name my-container noaaemc/ubuntu-hpc:v1.4b \
/bin/bash -c "./utest -n ${TEST_NAME} -c ${TEST_CASE} -x"

cd $GITHUB_WORKSPACE
Expand Down
4 changes: 3 additions & 1 deletion tests/ci/ci.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
control
thr mpi dcp rst bit dbg
regional_control
thr dcp
cpld_control
rst
rst dbg
8 changes: 6 additions & 2 deletions tests/ci/repo_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ result() {
}

# Declare variables
declare -A base fv3 mom6 cice ww3 stoch nems cmeps datm cdeps cmake
submodules="fv3 mom6 cice ww3 stoch nems cmeps datm cdeps cmake"
declare -A base fv3 mom6 cice ww3 stoch gocart nems cmeps datm cdeps cmake
submodules="fv3 mom6 cice ww3 stoch gocart nems cmeps datm cdeps cmake"
comment=''
ownerID=$1

Expand Down Expand Up @@ -43,6 +43,10 @@ stoch[repo]='https://github.com/noaa-psd/stochastic_physics'
stoch[branch]='master'
stoch[dir]='stochastic_physics'

gocart[repo]='https://github.com/GEOS-ESM/GOCART'
gocart[branch]='develop'
gocart[dir]='GOCART'

nems[repo]='https://github.com/NOAA-EMC/NEMS'
nems[branch]='develop'
nems[dir]='NEMS'
Expand Down
1 change: 1 addition & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ export EFFR_IN=.F.
# Thompson MP
export LRADAR=.T.
export LTAEROSOL=.T.
export EXT_DIAG_THOMPSON=.F.

# GWD
export LDIAG_UGWP=.F.
Expand Down
1 change: 1 addition & 0 deletions tests/fv3_conf/gfs_v16_run_c192L127.IN
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ cp @[INPUTDATA_ROOT]/FV3_input_data_c192L127/*configure .

if [ $DO_RRTMGP = .T. ]; then
cp @[INPUTDATA_ROOT]/FV3_input_data_c192L127/rrtmgp* .
cp @[INPUTDATA_ROOT]/FV3_input_data_RRTMGP/* .
fi
1 change: 1 addition & 0 deletions tests/fv3_conf/regional_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ elif [[ $POSTAPP = 'hafs' ]]; then
fi

if [ $DO_RRTMGP = .T. ]; then
cp @[INPUTDATA_ROOT]/FV3_input_data_c192L127/rrtmgp* .
cp @[INPUTDATA_ROOT]/FV3_input_data_RRTMGP/* .
fi
12 changes: 8 additions & 4 deletions tests/parm/control_rrtmgp.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ deflate_level=1
fhlwr = 3600.
ialb = 1
iems = 1
iaer = 5111
iaer = @[IAER]
icliq_sw = 2
iovr = 3
ico2 = 2
Expand Down Expand Up @@ -164,7 +164,7 @@ deflate_level=1
debug = .false.
oz_phys = .F.
oz_phys_2015 = .T.
nstf_name = 2,0,0,0,0
nstf_name = @[NSTF_NAME]
nst_anl = .true.
psautco = 0.0008,0.0005
prautco = 0.00015,0.00015
Expand All @@ -189,8 +189,12 @@ deflate_level=1
rrtmgp_nGptsLW = 128
rrtmgp_nBandsLW = 16
rrtmgp_nBandsSW = 14
doG_cldoptics = .true.
rrtmgp_nrghice = 3
doGP_cldoptics_LUT = .true.
doGP_lwscat = .true.
use_LW_jacobian = .true.
damp_LW_fluxadj = .true.
lfnc_k = 3125.
lfnc_p0 = 60000.
lsoil_lsm = 4
do_mynnedmf = .false.
do_mynnsfclay = .false.
Expand Down
1 change: 1 addition & 0 deletions tests/parm/control_thompson.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ deflate_level=1
ltaerosol = @[LTAEROSOL]
lradar = @[LRADAR]
ttendlim = 0.004
ext_diag_thompson = @[EXT_DIAG_THOMPSON]
pdfcld = .false.
fhswr = 3600.
fhlwr = 3600.
Expand Down
5 changes: 4 additions & 1 deletion tests/parm/regional_rrtmgp.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
fhlwr = 900.
ialb = 1
iems = 1
IAER = 111
IAER = 5111
ico2 = 2
isubc_sw = 2
isubc_lw = 2
Expand Down Expand Up @@ -213,6 +213,9 @@
doGP_cldoptics_LUT = .true.
doGP_lwscat = .true.
use_LW_jacobian = .true.
damp_LW_fluxadj = .true.
lfnc_k = 3125.
lfnc_p0 = 60000.
/

&interpolator_nml
Expand Down
1 change: 1 addition & 0 deletions tests/rt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ RUN | control_ras_debug
COMPILE | -DAPP=ATM -DDEBUG=ON -DCCPP_SUITES=FV3_GFS_v16_thompson -D32BIT=ON | | fv3 |
RUN | control_thompson_debug | | fv3 |
RUN | control_thompson_no_aero_debug | | fv3 |
RUN | control_thompson_extdiag_debug | | fv3 |

COMPILE | -DAPP=ATM -DCCPP_SUITES=FV3_GFS_v15_thompson_mynn,FV3_GSD_v0,FV3_RRFS_v1beta,FV3_RRFS_v1alpha -D32BIT=ON -DDEBUG=ON | | fv3 |
RUN | regional_control_debug | | fv3 |
Expand Down
2 changes: 1 addition & 1 deletion tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ if [[ $TESTS_FILE =~ '35d' ]]; then
TEST_35D=true
fi

BL_DATE=20210706
BL_DATE=20210708
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
1 change: 1 addition & 0 deletions tests/rt_gnu.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ RUN | fv3_rrfs_v1beta_debug
RUN | fv3_gsd_debug | | fv3 |
RUN | control_thompson_debug | | fv3 |
RUN | control_thompson_no_aero_debug | | fv3 |
RUN | control_thompson_extdiag_debug | | fv3 |
RUN | control_rrtmgp_debug | | fv3 |
RUN | control_ugwpv1_debug | | fv3 |
RUN | control_ras_debug | | fv3 |
Expand Down
49 changes: 49 additions & 0 deletions tests/tests/control_thompson_extdiag_debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
###############################################################################
#
# Global control with Thompson debug test with extended diagnostics
#
###############################################################################

export TEST_DESCR="Compare global control Thompson debug results with extended diagnostics with previous trunk version"

export CNTL_DIR=control_thompson_debug_extdiag

export LIST_FILES="sfcf000.nc \
sfcf001.nc \
atmf000.nc \
atmf001.nc"

export_fv3
export NPZ=127
export NPZP=128
export DT_ATMOS=600
export SYEAR=2021
export SMONTH=03
export SDAY=22
export SHOUR=06
export OUTPUT_GRID='gaussian_grid'
export NSTF_NAME='2,0,0,0,0'
export FHMAX=1

export IMP_PHYSICS=8
export DNATS=0
export DO_SAT_ADJ=.F.
export LRADAR=.T.
export LTAEROSOL=.T.
export EXT_DIAG_THOMPSON=.T.
export HYBEDMF=.F.
export SATMEDMF=.T.
export DO_MYNNEDMF=.F.
export IMFSHALCNV=2
export IMFDEEPCNV=2
export IAER=5111
export ICLIQ_SW=2
export IOVR=3
export LHEATSTRG=.T.
export DO_TOFD=.T.

export NEW_DIAGTABLE='diag_table_gfsv16_thompson_extdiag'

export FV3_RUN=control_run.IN
export CCPP_SUITE=FV3_GFS_v16_thompson
export INPUT_NML=control_thompson.nml.IN
10 changes: 4 additions & 6 deletions tests/utest
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,14 @@ build_utests() {
MAKE_OPT=$base_opt
;;
bit)
if [[ $base_opt =~ "32BIT=Y" ]]; then
MAKE_OPT=$(echo $base_opt | sed -e 's/32BIT=Y/32BIT=N/')
elif [[ ${base_opt} =~ "32BIT=N" ]]; then
MAKE_OPT=$(echo $base_opt | sed -e 's/32BIT=N/32BIT=Y/')
if [[ $base_opt =~ "-D32BIT=ON" ]]; then
MAKE_OPT=$(echo $base_opt | sed -e 's/-D32BIT=ON//')
else
MAKE_OPT="$base_opt 32BIT=Y"
MAKE_OPT="$base_opt -D32BIT=ON"
fi
;;
dbg)
MAKE_OPT="$base_opt 32BIT=Y DEBUG=Y"
MAKE_OPT="$base_opt -DDEBUG=ON"
;;
esac
MAKE_OPT=$(echo $MAKE_OPT | sed -e 's/^ *//' -e 's/ *$//')
Expand Down
17 changes: 15 additions & 2 deletions tests/utests/dbg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,26 @@ set -eu
source $PATHRT/utests/std.sh

if [[ $application == 'global' ]]; then
LIST_FILES="sfcf000.nc sfcf001.nc atmf000.nc atmf001.nc"
FHMAX=1
DAYS=0.041667
NFHOUT=3
NFHMAX_HF=12
NFHOUT_HF=1
WLCLK=60
elif [[ $application == 'regional' ]]; then
echo "Regional application not yet implemented for debug"
exit 1
elif [[ $application == 'cpld' ]]; then
echo "Coupled application not yet implemented for debug"
exit 1
FHMAX=6
DAYS=0.25
NFHOUT_HF=1
RESTART_INTERVAL=${FHMAX}
RESTART_N=${FHMAX}
LIST_FILES=$(echo -n $LIST_FILES | sed -E "s/sfcf024/sfcf006/g" \
| sed -E "s/atmf024/atmf006/g" \
| sed -E "s/2016-10-04-00000/2016-10-03-21600/g" \
| sed -e "s/^ *//" -e "s/ *$//")
fi

source $PATHRT/utests/wrt_env.sh
Expand Down
5 changes: 0 additions & 5 deletions tests/utests/mpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,3 @@ fi

(test $CI_TEST == 'true') && source $PATHRT/utests/cmp_proc_bind.sh
source $PATHRT/utests/wrt_env.sh

cat <<EOF >>${RUNDIR_ROOT}/unit_test${RT_SUFFIX}.env
export WRITE_GROUP=${WRITE_GROUP}
export WRTTASK_PER_GROUP=${WRTTASK_PER_GROUP}
EOF
2 changes: 0 additions & 2 deletions tests/utests/rst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export USE_RESTART_TIME=${USE_RESTART_TIME:-}
export MOM6_RESTART_SETTING=${MOM6_RESTART_SETTING:-}
export RESTART_FILE_SUFFIX_HRS=${RESTART_FILE_SUFFIX_HRS:-}
export RESTART_FILE_SUFFIX_SECS=${RESTART_FILE_SUFFIX_SECS:-}
export RESTART_N=${RESTART_N:-}
export DEP_RUN=${DEP_RUN:-}
export WARM_START=${WARM_START}
export NGGPS_IC=${NGGPS_IC}
Expand All @@ -54,5 +53,4 @@ export MAKE_NH=${MAKE_NH}
export MOUNTAIN=${MOUNTAIN}
export NA_INIT=${NA_INIT}
export FDIAG=${FDIAG}
export LIST_FILES="${LIST_FILES}"
EOF
7 changes: 7 additions & 0 deletions tests/utests/std.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ if [[ $application == 'global' ]]; then
if [[ $CI_TEST == 'true' ]]; then
INPES=3
JNPES=2
WRITE_GROUP=1
WRTTASK_PER_GROUP=12
TASKS=$((INPES*JNPES*6 + WRITE_GROUP*WRTTASK_PER_GROUP))
RESTART_INTERVAL=$((FHMAX/2))
NFHOUT=6
NFHMAX_HF=-1
NFHOUT_HF=-1
fi
elif [[ $application == 'regional' ]]; then
if [[ $CI_TEST == 'true' ]]; then
Expand All @@ -23,6 +28,8 @@ elif [[ $application == 'cpld' ]]; then
ocn_petlist_bounds="30 39"
ice_petlist_bounds="40 45"
TASKS=$((INPES*JNPES*6 + WRITE_GROUP*WRTTASK_PER_GROUP + 10 + 6))
RESTART_INTERVAL=12
RESTART_N=${RESTART_INTERVAL}
fi
fi

Expand Down
9 changes: 8 additions & 1 deletion tests/utests/wrt_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ export CI_TEST=${CI_TEST}
export RT_COMPILER=${RT_COMPILER}
export FHMAX=${FHMAX}
export DAYS=${DAYS}
export RESTART_INTERVAL=${RESTART_INTERVAL}
export RESTART_INTERVAL=${RESTART_INTERVAL:-}
export RESTART_N=${RESTART_N:-}
export INPES=${INPES}
export JNPES=${JNPES}
export WRITE_GROUP=${WRITE_GROUP}
export WRTTASK_PER_GROUP=${WRTTASK_PER_GROUP}
export NPROC_ICE=${NPROC_ICE:-}
export med_petlist_bounds="${med_petlist_bounds:-}"
export atm_petlist_bounds="${atm_petlist_bounds:-}"
Expand All @@ -18,4 +21,8 @@ export TPN=${TPN}
export NODES=${NODES}
export OMP_ENV="${OMP_ENV:-}"
export MPI_PROC_BIND="${MPI_PROC_BIND:-}"
export NFHOUT=${NFHOUT}
export NFHMAX_HF=${NFHMAX_HF}
export NFHOUT_HF=${NFHOUT_HF}
export LIST_FILES="${LIST_FILES}"
EOF