-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR is a companion to GW PR [#3120](NOAA-EMC/global-workflow#3120). It does a couple things: 1. 5 GW CI tests are added/extended as CTests in GDASApp, running through to the fcst jobs in the first full-cycle. These CI tests are: ```C96C48_hybatmDA```, ```C96C48_ufs_hybatmDA```, ```C96C48_hybatmaerosnowDA```, ```C48mx500_3DVarAOWCDA```, and ```C48mx500_hybAOWCDA```. 2. Test references are added for ```C96C48_ufs_hybatmDA``` and ```C48mx500_3DVarAOWCDA```, so that we're actually testing the output. 3. These CTests are turned on by default in a workflow build, rather than having to mess with the ```CMakeCache.txt``` file and re-running make. This will allow us to use these tests in nightly testing. 4. ```test/gw-ci/CMakeLists.txt``` is refactored quite a bit. 5. There are 89 CTests, but for 5 CI tests, but I added task dependencies, so they can be run in parallel. The primary motivation for this PR is that we can run CI for our nightly testing of GDASApp. Also, anyone with a PR can easily do CI testing through CTests. --------- Co-authored-by: Russ-Treadon-NOAA <[email protected]>
- Loading branch information
1 parent
40ed1a7
commit 7a01c5e
Showing
43 changed files
with
1,369 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Algorithm | ||
# --------- | ||
algorithm: fv3jedi_fv3inc_variational | ||
|
||
# Testing things | ||
# -------------- | ||
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_3dvar-fv3inc.ref | ||
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_3dvar-fv3inc.test.out | ||
test_float_relative_tolerance: 1.0e-3 | ||
test_float_absolute_tolerance: 1.0e-5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Algorithm | ||
# --------- | ||
algorithm: fv3jedi_fv3inc_lgetkf | ||
|
||
# Testing things | ||
# -------------- | ||
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/C96C48_ufs_hybatmDA_lgetkf-fv3inc.ref | ||
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/C96C48_ufs_hybatmDA_lgetkf-fv3inc.test.out | ||
test_float_relative_tolerance: 1.0e-3 | ||
test_float_absolute_tolerance: 1.0e-5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule jcb-algorithms
updated
5 files
+1 −1 | 3dfgat.yaml.j2 | |
+1 −1 | 3dvar.yaml.j2 | |
+1 −1 | local_ensemble_da.yaml.j2 | |
+1 −1 | local_ensemble_da_observer.yaml.j2 | |
+1 −1 | local_ensemble_da_solver.yaml.j2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,86 @@ | ||
# test for creating an experiment directory within the global-workflow | ||
file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_setup_atm_cycled_exp | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/setup_workflow_exp.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_var_init | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_init.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_var_run | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_run.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_var_inc | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_inc.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_var_final | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_final.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_ens_init | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_ens_letkf | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_letkf.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_ens_init_split | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init_split.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_ens_obs | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_obs.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_ens_sol | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_sol.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
ecbuild_add_test(TARGET test_gdasapp_setup_atm_cycled_exp | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/setup_workflow_exp.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_init | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_init.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_setup_atm_cycled_exp) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_run | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_run.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_var_init) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_inc | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_inc.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_var_run) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_var_final | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_var_final.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_var_inc) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_init | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_setup_atm_cycled_exp) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_letkf | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_letkf.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_ens_init) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_init_split | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_init_split.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_ens_letkf) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_obs | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_obs.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_ens_init_split) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_sol | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_sol.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_ens_obs) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_ens_inc | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_inc.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
|
||
add_test(NAME test_gdasapp_atm_jjob_ens_final | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_final.sh | ||
${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun) | ||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_inc | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_inc.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_ens_sol) | ||
|
||
ecbuild_add_test(TARGET test_gdasapp_atm_jjob_ens_final | ||
TYPE SCRIPT | ||
COMMAND ${PROJECT_SOURCE_DIR}/test/atm/global-workflow/jjob_ens_final.sh | ||
ARGS ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} | ||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/atm/global-workflow/testrun | ||
TEST_DEPENDS test_gdasapp_atm_jjob_ens_inc) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
test/atm/global-workflow/jcb-prototype_3dvar-fv3inc.yaml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Algorithm | ||
# --------- | ||
algorithm: fv3jedi_fv3inc_variational | ||
|
||
# Testing things | ||
# -------------- | ||
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_3dvar-fv3inc.ref | ||
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_3dvar-fv3inc.test.out | ||
test_float_relative_tolerance: 1.0e-3 | ||
test_float_absolute_tolerance: 1.0e-5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
test/atm/global-workflow/jcb-prototype_lgetkf-fv3inc.yaml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Algorithm | ||
# --------- | ||
algorithm: fv3jedi_fv3inc_lgetkf | ||
|
||
# Testing things | ||
# -------------- | ||
test_reference_filename: {{ HOMEgfs }}/sorc/gdas.cd/test/testreference/atm_jjob_lgetkf-fv3inc.ref | ||
test_output_filename: {{ HOMEgfs }}/sorc/gdas.cd/build/gdas/test/testoutput/atm_jjob_lgetkf-fv3inc.test.out | ||
test_float_relative_tolerance: 1.0e-3 | ||
test_float_absolute_tolerance: 1.0e-5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.