-
Notifications
You must be signed in to change notification settings - Fork 124
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
dseupd_ randomly fails on mips64el arch #294
Comments
Patches welcome ! I am not planing to spend time on this, sorry! |
Do you have any hint ? |
Nope, sorry :( |
Can't afford spending time on that neither ?!... |
Thanks for your suggestion. What it would look like for the test code ? just replace |
Yes. With ICB enabled, |
Thanks for the precisions. I transformed my test sample accordingly: bugreport-arpack-dseupd_c.c . |
@jgmbenoit: Line 54 in 872df83
Did you try that?
|
It shouldn't make a different if the buffer has extra characters though. I do wonder about the appropriate calling convention for this function. Doesn't gfortran require passing the string lengths as additional parameters at the end? |
Don't think so |
Could you compile bugreport-arpack-dseupd_c.c in debug mode on mips64el and report here a backtrace? May be helpful to get some clue |
I am not so sure what I may read by ``in debug''. Can you specify the sequence of command to follow ? |
In bugreport-arpack-dseupd_c.c, why do you set Are you sure you never hit
compile with |
That is 2^-53, not 10^-53. Probably related to |
I had a hard time with arpack too... Hope this helps |
Including @ntamas here regarding the gfortran calling convention. |
To me, looks more like an arpack miuse that an arpack bug. |
I will a have a closer look this week-end. |
|
Sounds likely, but, not sure: doc is not clear to me (when May be wrong but that's my impression (had a hard time with arpack long time ago!) |
@szhorvat: BTW, you may want/need to make some statistics with your baseline data/use-cases. Say you ask for Note: with |
I believe the |
If you don't have arpack-ng provides Hope this helps |
BTW, you need to set at least |
I think these are already satisfied in our code in igraph; Anyhow, we've made some changes in igraph and now try to handle all cases of
|
@ntamas |
I went back to a mips64el arch box to check the current status of the issue. The check-code bugreport-arpack-dseupd_c.c is still relevant as it fails on the mips64el arch box but it works on my amd64 box. Now |
It appears that patch a17105beb3e cannot be applied to version0.9.9. I guess that number of changes to getting too big. |
Exactly. I used this format to be sure that the code plays with exactly the same doubles. We are debugging a weird issue here. |
I can compile with |
I've cherry-picked the four relevant commits into a separate |
I could applied these patches. However, the issue persists on the mips64el arch box: tests 174 and 340 failed. |
What's your |
@jgmbenoit Can you send a link to the build log? |
We can find the build log of the Debian packages at buildd.debian.org. |
Yes, I'd like to figure out which ones are tests 174 and 340 in this version so I can check what the |
Okay. As mentioned above, these tests are test::igraph_pagerank (174) and example::eigenvector_centrality (340). |
Just striking me!... Is mips64el ILP64-based as the name may suggest?!... arpack-ng/.github/workflows/jobs.yml Line 156 in d280435
|
Does using a |
Expected behavior
dseupd_ always succeeds on any arch
Actual behavior
dseupd_ randomly fails on mips64el arch
Where/how to reproduce the problem
Steps to reproduce the problem
while (./bugreport-arpack-dseupd) ; do : ; done | nl
and wait until it stops.Error message
Traces
Callstack
Notes, remarks
The bug is reported in Debian #981646
The text was updated successfully, but these errors were encountered: