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 Tests/RoundoffDomain #3248

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

WeiqunZhang
Copy link
Member

@WeiqunZhang WeiqunZhang commented Apr 10, 2023

The new test exposes an issue with Intel compiler. So we have to rewrite the computeRoundofDomain function in a slightly different way to avoid roundoff difference between auto r = f(x-y) and z = x-y; auto r = f(z).

Also fix an assertion issue in #3247.

@WeiqunZhang WeiqunZhang force-pushed the test_roundoff_domain branch 5 times, most recently from bece8ef to afa2067 Compare April 11, 2023 01:28
The new test exposes an issue with Intel compiler. So we have to rewrite the
computeRoundoffDomain slightly.

Also fix an assertion issue in AMReX-Codes#3247.
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

Thanks a lot! 🚀 ✨

@ax3l ax3l merged commit 15038d4 into AMReX-Codes:development Apr 11, 2023
@WeiqunZhang WeiqunZhang deleted the test_roundoff_domain branch April 11, 2023 20:39
guj pushed a commit to guj/amrex that referenced this pull request Jul 13, 2023
The new test exposes an issue with Intel compiler. So we have to rewrite
the computeRoundofDomain function in a slightly different way to avoid
roundoff difference between `auto r = f(x-y)` and `z = x-y; auto r =
f(z)`.

Also fix an assertion issue in AMReX-Codes#3247.
WeiqunZhang pushed a commit to WeiqunZhang/amrex that referenced this pull request Sep 28, 2023
  * Rework handling of roundoff domain extent (AMReX-Codes#3199)

  * Fix periodic boundary bug in AMReX-Codes#3199 (AMReX-Codes#3243)

  * Fix Roundoff Domain (AMReX-Codes#3247)

  * Add Tests/RoundoffDomain (AMReX-Codes#3248)

  * Roundoff errors in computeRoundoffDomain (AMReX-Codes#3255)
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