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

Qdyn6 doesn't fail on NaN #7

Open
mpurg opened this issue Jan 11, 2018 · 1 comment
Open

Qdyn6 doesn't fail on NaN #7

mpurg opened this issue Jan 11, 2018 · 1 comment

Comments

@mpurg
Copy link

mpurg commented Jan 11, 2018

Qdyn6 compiled with optimizations doesn't fail on T==NaN and terminates normally.
Not urgent, but could be annoying.

I tried only with gcc4.8.4 but it seems like it's more general:
https://stackoverflow.com/questions/15944614/is-it-possible-to-make-isnan-work-in-gfortran-o3-ffast-math

A test case (timestep of 10fs): asd.zip

@acmnpv
Copy link
Contributor

acmnpv commented Jan 12, 2018

Strange error, but I think I saw something like this before and didn't think about it.
I guess the only way to fix it is to include the extra routine compiled without the optimization. I'll have a look into this.

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

No branches or pull requests

2 participants