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

Create basic config for an MPAS core #378

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Apr 26, 2022

This is needed for both provenance and test cases, and will also be needed for job scripts.

For provenance, it is necessary to have config options that come from most sources (defaults, mache, machine-specific, MPAS-core and user) but where a test group and test case has not yet been determined so those are not included.

Previously, the framework redundantly made new "basic" config options as a starting point for each test case, adding more config options for the test group and test case, and to call the test case's configure() method.

That code was duplicated because it initially seemed trivial but slowly got more complex. For #376, I needed this "basic" set of config options in a 3rd place (for making job scrips) and it was clearly time to fix the unnecessary duplicate code.

This is needed for both provenance and test cases, and will also
be needed for job scripts.
@xylar
Copy link
Collaborator Author

xylar commented Apr 26, 2022

Testing

I ran the ocean nightly test suite on my laptop, and all results were bit-for-bit compared with a baseline from a few days ago.

This commit has also been tested as part of the testing I did for #376

@xylar
Copy link
Collaborator Author

xylar commented Apr 26, 2022

@matthewhoffman, please give this a quick look when you have a chance.

@xylar
Copy link
Collaborator Author

xylar commented Apr 27, 2022

@matthewhoffman, I'm going to go ahead with this one so as not to distract from #376 and to not overwhelm you (any more than I have to at least) with reviews.

@xylar xylar removed the request for review from matthewhoffman April 27, 2022 06:04
@xylar xylar merged commit b52bd02 into MPAS-Dev:master Apr 27, 2022
@xylar xylar deleted the create_basic_config branch April 27, 2022 06:04
@matthewhoffman
Copy link
Member

Ok, thanks! I glanced at it last night and had no concerns to the extent I followed the details. I went hunting for it now and found it already merged, which was nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants