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 CI to check runtime parameters #2577

Merged
merged 8 commits into from
Sep 23, 2023

Conversation

zingale
Copy link
Member

@zingale zingale commented Sep 23, 2023

PR summary

This will check all of the inputs files to make sure the runtime parameters in the namespaces
defined in _cpp_parameters are all valid. Note: at the moment, we skip radiation parameters
and we also don't test on Microphysics.

This also updates problems found in existing inputs files.

PR motivation

PR checklist

  • test suite needs to be run on this PR
  • this PR will change answers in the test suite to more than roundoff level
  • all newly-added functions have docstrings as per the coding conventions
  • the CHANGES file has been updated, if appropriate
  • if appropriate, this change is described in the docs

remove the "in fortran" option as well as the field from the
_cpp_parameters file and also split the parser into 2 function
to make it easier to build off of.
@zingale
Copy link
Member Author

zingale commented Sep 23, 2023

depends on #2576

@zingale
Copy link
Member Author

zingale commented Sep 23, 2023

I've verified that this will fail if it doesn't recognize something by intentionally misspelling a parameter:
https://github.com/AMReX-Astro/Castro/actions/runs/6285341247/job/17067617220?pr=2577

@zingale zingale merged commit 27f71bc into AMReX-Astro:development Sep 23, 2023
18 checks passed
@zingale zingale deleted the add_param_checker branch September 23, 2023 23:26
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.

2 participants