Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make Waves2AMR routines deterministic by default #1143

Merged
merged 5 commits into from
Jul 22, 2024

Conversation

mbkuhn
Copy link
Contributor

@mbkuhn mbkuhn commented Jul 20, 2024

Summary

Regression test "ow_w2a" had been nondeterministic; this was due to the use of certain FFTW approaches that are nondeterministic. This PR allows the user to choose which approach to use and sets the default to a deterministic one.

Pull request type

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Checklist

The following is included:

  • new unit-test(s)
  • new regression test(s)
  • documentation for new capability

This PR was tested by running:

  • the unit tests
    • on GPU
    • on CPU
  • the regression tests
    • on GPU
    • on CPU

Additional background

Issue Number: closes #1090

@mbkuhn mbkuhn marked this pull request as ready for review July 20, 2024 06:24
@mbkuhn mbkuhn requested a review from marchdf July 22, 2024 14:47
@mbkuhn mbkuhn merged commit 40accd3 into Exawind:main Jul 22, 2024
13 checks passed
@mbkuhn mbkuhn deleted the W2A_deterministic branch July 24, 2024 21:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ow_w2a test is non deterministic on CPU
2 participants