-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
LAPACK hangs when matrix elements are not finite #425
Comments
|
I've tried it on the 2 versions below:
|
LAPACK doesn't like |
Thanks. I had a feeling it was in LAPACK. I did the same check in my code so I'm fine for now. I just wanted to inform you. I recognize that for some calls, checking could be a bit of a performance hit but it seems better than the alternative to me. |
This reminds me of this recent R thread (see in particular the excerpt from NEWS in the middle of the thread). Also see this blog post. |
Wow, R apparently patch their own BLAS for this reason: http://icl.cs.utk.edu/lapack-forum/archives/lapack/msg01536.html |
What is LAPACK policy on NaNs? is this a bug? |
Seems like they do consider infinite loops due to NaNs a bug: http://www.netlib.org/lapack/bug_list.html#_strong_span_class_green_bug0101_span_strong_s_d_c_z_hsein_nan_in_h_can_cause_an_infinite_loop |
Hello, thanks for the thread. I think I fixed the issue with Reference-LAPACK/lapack@a1e853b. It would be great if you can confirm whether Reference-LAPACK/lapack@a1e853b fixes the infinite loop observed in julia with |
@langou Great. Thanks for looking into this. I've just tested with the latest version of LAPACK. It fixes the issue here and the routine returns arrays of |
We are now using openblas 0.3 and lapack 3.8, and I don't see the issue.
|
Better add a test before closing though? |
julia hangs on the following:
I don't expect it to return something meaningful but an uninterruptible hang doesn't seem right.
The text was updated successfully, but these errors were encountered: