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 a restart test to cosine bell #251

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Dec 5, 2024

This merge adds a restart test to the cosine bell configuration. This requires some changes to the validation framework for comparing variables to support the translation that Polaris performs between Omega native dimension and variable names and those for MPAS-Ocean that the Polaris ocean component uses generally.

A small amount of related cleanup is also included.

Checklist

  • User's Guide has been updated
  • Developer's Guide has been updated
  • API documentation in the Developer's Guide (api.md) has any new or modified class, method and/or functions listed
  • Documentation has been built locally and changes look as expected
  • Testing comment in the PR documents testing used to verify the changes
  • New tests have been added to a test suite

@xylar xylar added enhancement New feature or request framework Changes relating to the polaris framework as opposed to individual tests or analysis ocean Related to ocean tests or analysis labels Dec 5, 2024
@xylar xylar self-assigned this Dec 5, 2024
@xylar xylar added the Omega PR required The polaris changes won't work with the current Omega submodule and require an update label Dec 5, 2024
@xylar
Copy link
Collaborator Author

xylar commented Dec 5, 2024

The restart test case nearly works but needs a fix for E3SM-Project/Omega#181.

@xylar
Copy link
Collaborator Author

xylar commented Dec 11, 2024

It works!!! Using a test merge of E3SM-Project/Omega#184 with the current Omega develop, the cosine bell restart test passes on Chrysalis!

@xylar xylar removed the Omega PR required The polaris changes won't work with the current Omega submodule and require an update label Dec 16, 2024
@xylar xylar added the Omega PR finished The polaris changes required an update to the Omega submodule and this is now finished label Dec 16, 2024
component=component, name=name, subdir=subdir,
mesh=base_mesh_step, init=init_step,
refinement_factor=refinement_factor,
refinement=refinement)
Copy link
Collaborator

@cbegeman cbegeman Dec 20, 2024

Choose a reason for hiding this comment

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

Suggested change
refinement=refinement)
refinement=refinement,
do_restart=name == 'restart_run')

Since you end up using the logical do_restart in dynamic_model_config, should we just use this as an argument rather than checking step names?

Copy link
Collaborator

@cbegeman cbegeman left a comment

Choose a reason for hiding this comment

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

I think this looks great! I ran successfully with MPAS-O and Omega on chrys, intel. I trust you to do the items on the checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request framework Changes relating to the polaris framework as opposed to individual tests or analysis ocean Related to ocean tests or analysis Omega PR finished The polaris changes required an update to the Omega submodule and this is now finished
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants