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

Implement ecflow option for unit testing #1

Merged
merged 1 commit into from
Mar 18, 2020

Conversation

MinsukJi-NOAA
Copy link
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 <[email protected]>
Co-authored-by: BinLi-NOAA <[email protected]>
Co-authored-by: Brian Curtis <[email protected]>
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