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

Print whether an option was marked as conditionally used #2542

Merged
merged 5 commits into from
Jul 25, 2022

Conversation

dschwoerer
Copy link
Contributor

Should help porting bigger input files / codes to the error on unused
option.

Should help porting bigger input files / codes to the error on unused
option.
ZedThree
ZedThree previously approved these changes Apr 29, 2022
@ZedThree
Copy link
Member

Tests are failing because the output has now changed. We either need to update the tests, or perhaps only add this to the output if a u format code is used?

bendudson and others added 3 commits July 20, 2022 10:21
Adds a comment "unused value (NOT marked conditionally used)"
or "unused value (marked conditionally used)" depending on
whether the option was marked conditionally used
Will now record in the output file if options were unused, and if
so if they were conditionally unused.
* next: (447 commits)
  Use MPI_COMM_NULL rather than nullptr
  Apply clang-format changes
  Apply clang-format changes
  Don't compile LaplaceXY2 with 3D metrics
  Apply clang-format changes
  Apply clang-format changes
  Laplacexy2 modifications
  Apply clang-format changes
  Apply clang-format changes
  nvcc needs toString(HYPRE_SOLVER_TYPE)
  nvcc now seems to need the factory flags
  Update fmt to latest version
  Apply clang-format changes
  Output BoutException.what() in PhysicsModel main()
  use hasParallelSlices
  Apply clang-format changes
  Only destroy if it exists
  Backgrounds don't work with parallel BCs
  Ensure that parallel slices exist
  Prefer non-const return value
  ...
@ZedThree ZedThree changed the title Print wether an option was marked as conditionally used Print whether an option was marked as conditionally used Jul 22, 2022
@ZedThree
Copy link
Member

I reset to remove the auto-clang-format commit, then merged next, then re-applied clang-format, which removed all the conflicts, but did require a force push.

@bendudson bendudson merged commit 2daaee4 into next Jul 25, 2022
@bendudson bendudson deleted the print-cond-use branch July 25, 2022 16:33
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.

None yet

3 participants