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

XL-build fails to throw floating point exception #830

Closed
KineticTheory opened this issue May 12, 2020 · 0 comments · Fixed by #831
Closed

XL-build fails to throw floating point exception #830

KineticTheory opened this issue May 12, 2020 · 0 comments · Fixed by #831
Assignees
Labels
Milestone

Comments

@KineticTheory
Copy link
Collaborator

The dsxx_fpe_trap_2 unit test is failing for XL Release builds.

>>> Running:   
>>>          /scratch/users/kellyt/cdash/darwin/draco/Nightly_xlc++-power9xl-develop/Release/build/src/ds++/test/do_exception
>>>          2

- fpe_trap: This platform is supported.

- Case two: trying to evaluate sqrt(-1.0)...
  result = nan
Test Passes: Application ran to completion

Checking the generated output files...

Test Passes: Case 2 -> sqrt(-1.0) test case
Test Fails: Failed to catch SIGFPE (Invalid floating point operation)

I think we need to tell XL to to look for these types of floating-point errors so its behavior matches other compilers. Trying:

  • -qflttrap Ref
@KineticTheory KineticTheory added this to the Draco-7_7_0 milestone May 12, 2020
@KineticTheory KineticTheory self-assigned this May 12, 2020
@KineticTheory KineticTheory changed the title XL-build fail to throw floating point exception XL-build fails to throw floating point exception May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant