-
Notifications
You must be signed in to change notification settings - Fork 29
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
Wrong eigenvalues on first run #118
Comments
I can reproduce this issue and it goes away if you downgrade to version 3.5 of |
I will tag a new release that reverts the Arpack_jll update. We should also add this example to our tests and file the issue upstream. |
They seem to have made small tiny bugfixes in the last couple of years, and I wonder if those affect us. It would be nice if someone can investigate. |
In the above test, if I ask for 3 eigenvalues or more, then the test passes.
|
Also, as reported, running it repeatedly makes it pass sometimes.
While running it repeatedly, I also found this error in one of the runs:
|
I bisected and found that the failure is introduced between opencollab/arpack-ng@0e7d01d (last known good commit) and opencollab/arpack-ng@7fc42e5. Unfortunately, many of the shared library builds fail in that range making it difficult to pinpoint, and some of the successful builds complain about not enough space to build the factorization (which feels like a bug since it is working fine in earlier versions). |
If I have done my analysis right - the failure is introduced in https://github.com/opencollab/arpack-ng/compare/0e7d01d..7fc42e5 |
@andreasnoack This test fails on ARPACK 3.5 that we ship as well, and I can reproduce it with Arpack.jl 0.4 as well. The error itself appears to be due to different sorting of eigenvalues.
Thus I am not sure if my earlier analyses of where the bug was introduced is correct. |
If I use a |
What changed relative to #118 (comment)? Is it something about how the library is built? |
More findings for ARPACK 3.5 vs. 3.8 #138 (comment). 3.8 fails reliably even with an initialization vector - fails always. |
Here's the matrix from #118 as a gist: https://gist.github.com/ViralBShah/ae892fe6df0884185313f3f0e10c03cc |
Hi!
When updating the version of Arpack in a package I noticed tests started to fail some of the time. The following code reproduces the issue. The test at the end fails on Arpack v0.5, but only on the first run. On later runs, it works. I apologize for the somewhat convoluted construction of matrices here, but whenever I tried to simplify the error no longer occurred.
This worked fine on v0.4. Note that when using
eigen(Matrix(L))
the eigenvalue with the largest real part is 0.Version info:
The text was updated successfully, but these errors were encountered: