Skip to content

Implement ecflow option for unit testing#1

Merged
MinsukJi-NOAA merged 1 commit into
feature/unit_testfrom
feature/unit_test_workflow
Mar 18, 2020
Merged

Implement ecflow option for unit testing#1
MinsukJi-NOAA merged 1 commit into
feature/unit_testfrom
feature/unit_test_workflow

Conversation

@MinsukJi-NOAA

Copy link
Copy Markdown
Owner
  • Time taken for full unit tests is 40% of of that without using ecflow
  • Numerous changes in utest for ecflow as well as better handling of baseline runs
  • Modify run_test.sh to handle any failure before run_test
  • Modify rt.sh to use ECFLOW_SUITE instead of regtest
  • Modify rt_utils.sh to use ECFLOW_SUITE instead of regtest
  • In rt_utils.sh, modify ecflow_create_run_task: make the call to run_test a foreground job so that 'set -e' error handling works properly by getting the correct exit status (another way would be to use 'job id' and 'wait job id' following the call to run_test &)
  • Modify some of fv3_conf/*_run.IN files to handle errors when restart file copies fail

* Time taken for full unit tests is 40% of of that without using ecflow
* Numerous changes in utest for ecflow as well as better handling of baseline runs
* Modify run_test.sh to handle any failure before run_test
* Modify rt.sh to use ECFLOW_SUITE instead of regtest
* Modify rt_utils.sh to use ECFLOW_SUITE instead of regtest
* In rt_utils.sh, modify ecflow_create_run_task: make the call to run_test a foreground job so that 'set -e' error handling works properly by getting the correct exit status (another way would be to use 'job id' and 'wait job id' following the call to run_test &)
* Modify some of fv3_conf/*_run.IN files to handle errors when restart file copies fail
@MinsukJi-NOAA MinsukJi-NOAA merged commit 0eef7a3 into feature/unit_test Mar 18, 2020
@MinsukJi-NOAA MinsukJi-NOAA deleted the feature/unit_test_workflow branch March 18, 2020 12:47
MinsukJi-NOAA pushed a commit that referenced this pull request Apr 22, 2021
…y#524)

* point to Jun fv3atm personal fork
* add CDEPS submodule
* add building instructions
* fix issues that came from building
* builds CDEPS targets
* missed w3nco dep
* cleanup use of FoX and remove redundant library links in components
* Add 3 files generated by genf90.pl to the CDEPS-interface/ufs directory. (#1)
* remove dependency on genf90.pl for CDEPS/share
* remove FoX (#2)
remove FoX dependency building and use ESMF Config instead.
Co-authored-by: Jun Wang <junwang-noaa@users.noreply.github.com>
Co-authored-by: BinLi-NOAA <bin.li@noaa.gov>
Co-authored-by: Brian Curtis <brian.curtis@noaa.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant