-
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
Arpack-ng bug preventing us upgrading from 3.5 to 3.8 #138
Comments
@andreasnoack does eyeballing that diff suggest something insightful? |
My guess would be opencollab/arpack-ng@d04bdf1 but I'm not really sure. |
That's my best bet too. I wonder if we are calling arpack differently than other systems that makes this buggy for us. |
@ViralBShah: did you try to remove the patch opencollab/arpack-ng#80 (comment)? Does it solve the problem? |
Both the problem described here and the problem related to "Force the residual vector to be in the range of OP" depend on a bad choice of the initial random vector. Many iterative algorithms have some conditions on the initial values which we usually cannot verify and we hope for the best. Matlab has a similar problem with normest(toeplitz([-2,1,0,0])). So, I have no solution. |
@ViralBShah: how to do initialize your vectors? |
@fghoussen We do not initialize the vectors: https://github.com/JuliaLinearAlgebra/Arpack.jl/blob/master/src/libarpack.jl#L109 What should we be doing here? I thought ARPACK would initialize them for us. |
@caliarim may answer. I never had specific problems with initialization (but a lot on computations! :)) |
I'll note that in #118, just using a cc @amontoison as well. |
Would say make sense to me (in difficult cases). AFAIR, this way, one may better span the vectorial space solution. |
Yes, init with |
@ViralBShah |
BTW, in corner cases where |
@amontoison I was of the opinion that if we don't provide one, ARPACK will automatically pick a starting initial vector. Would it make sense to use @fghoussen Thanks for the suggestion. We can add that to the documentation. |
Could you export your A/B matrix to ASCII matrix market format? |
OK, I'll try to have a look when possible. |
Seems I can compute OK the 200 first EV with LM magnitude, no shift, no invert, regular tol / nb it. |
The actual failure case is when doing The file is what |
OK, I'll have a look when possible. |
It is not. |
Can you regenerate the file formatting lines this way |
If I have done my analysis right - the failure is introduced in https://github.com/opencollab/arpack-ng/compare/0e7d01d..7fc42e5
I'm not sure if we are doing something wrong in our wrappers or Arpack-ng introduced a bug, but it is somewhere in there. The relevant issue is #118.
The text was updated successfully, but these errors were encountered: