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

add BLOM regression test functionality #262

Merged
merged 6 commits into from
Aug 1, 2023

Conversation

mvertens
Copy link
Contributor

@mvertens mvertens commented Jul 14, 2023

This PR has changes to buildnml and to the testdefs directory to enable BLOM to have its first set of regression tests.
This PR resolves issue #258.

To see how the regression test is working - do the following:
(Note: the BLOM external points to my repository until this PR is merged)

> git clone https://github.com/mvertens/NorESM.git
> cd NorESM
> git checkout noresm_develop_v7_proto
> cd cime/scripts
> ./query_testlists --xml-category aux_blom_noresm

will give the following output

aux_blom_noresm: SMS_D_Ld1.T62_tn14.NOINYOC.betzy_intel
aux_blom_noresm: ERS_Ld5.T62_tn14.NOINYOC.betzy_intel
aux_blom_noresm: ERS_Ld5.T62_tn14.NOINY.betzy_intel
aux_blom_noresm: ERS_Ld5.T62_tn14_wtn14nw.NOINY_WW3.betzy_intel
aux_blom_noresm: ERS_Ld5.T62_tn14_wtn14nw.NOINY_WW3.betzy_intel.blom-wavice

To run a test suite and also generate baselines:

./create_test 
    --xml-category aux_blom_noresm  
    --xml-machine betzy --xml-compiler intel 
    --generate <your_baseline_directory_name>
    --baseline-root /cluster/shared/noresm/noresm_baselines 
    --project <your_project>

Baselines for the above aux_blom_noresm tests will be created in
/cluster/shared/noresm/noresm_baselines/<your_baseline_directory_name>

More documentation on regression testing in NorESM can be found at:
https://noresm-docs.readthedocs.io/en/noresm2/testing/systemtests.html

@mvertens mvertens requested a review from matsbn July 26, 2023 13:24
@mvertens mvertens added bug Something isn't working enhancement New feature or request labels Jul 26, 2023
Copy link
Contributor

@TomasTorsvik TomasTorsvik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should look more into the regression test functionality, but I don't see any reason to hold back on merging this PR.

@mvertens
Copy link
Contributor Author

@TomasTorsvik - thanks for the review. Do we need to wait for the review for Mats as well. I'd like to get this into a updated NORESM development snapshot that is needed for the Making Waves project. This is the last branch that is still pointing to my own forked code.

@TomasTorsvik
Copy link
Contributor

@TomasTorsvik - thanks for the review. Do we need to wait for the review for Mats as well. I'd like to get this into a updated NORESM development snapshot that is needed for the Making Waves project. This is the last branch that is still pointing to my own forked code.

@mvertens - I usually wait for review from Mats when a PR touches physics or model coupling (i.e. not purely BGC). Since this PR is mainly adding test functionality it is different from the PRs that we usually deal with. If you need this functionality in your current work, I suggest we merge it so that it doesn't stop you in your progress. Otherwise I would prefer to wait for input from Mats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants