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

test failure for long-double with threads in windows #56

Open
michaelquellmalz opened this issue Aug 29, 2017 · 2 comments
Open

test failure for long-double with threads in windows #56

michaelquellmalz opened this issue Aug 29, 2017 · 2 comments
Labels

Comments

@michaelquellmalz
Copy link
Member

The test checkall_threads.exe fails with enabled long-double precision in Windows, see the logfile
checkall_threads.txt. However, the single threaded test checkall.exe passed (checkall.txt). I used GCC 7.2.0 in 64bit MinGW (the check also fails with GCC 5.4.0).
Note that these tests only run after the bugfix #55 (which previously caused checkall to crash).

@michaelquellmalz
Copy link
Member Author

This bug seems to be caused by the OpenMP impementation in MinGW, which seems to do all computations actually in double instead of long double. Inserting the line __asm__("fninit"); in nfft_trafo_direct fixes the problem for this function. But this would have to be done in all OMP calls, but only for long double and only in MinGW ...

@michaelquellmalz
Copy link
Member Author

I posted a bug report on the MinGW-w64 project which is now under investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant