-
Notifications
You must be signed in to change notification settings - Fork 125
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
tests do not check quality of solutions #324
Comments
This is likely part of the reference code (caam.rice.edu): you may have stuffs like that all over the place. Impossible to fix them all. |
On Wed, 13 Oct 2021, 18:10 Franck HOUSSEN, ***@***.***> wrote:
This is likely part of the reference code (caam.rice.edu): you may have
stuffs like that all over the place. Impossible to fix them all.
Not sure this is a good move : arpack-ng is meant only to ease/allow
compilation/portability on modern archs. Not a dev project.
ARPACK's dependencies evolve, Fortran compilers evolve, hardware evolves.
It's naive to hope that the ability to build and do not crash during the
run is a sufficient test, obviously not. With human eyes not checking these
outputs much, it's getting even more important to have it fixed.
Surely downstream projects do some implicit or explicit testing of ARPACK,
but how much is missing?
We just discovered a coding error in scipy tests of ARPACK interface, which
resulted in the generalised eigenproblems not tested at all, and it was
there for like 10 years...
… —
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#324 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJXYHCPGJWBB63A5CSWG3LUGW4OTANCNFSM5FYRLXBQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
One can semi-automatically collect values for bounds in all Fortran programs in |
Fwiw, here's a simple
Sample output, for 10k x 10k poisson2 - 4.0001 I, float32, scipy arpack with Lgmres:
Theory and practice are closer in theory than they are in practice. |
one way or another, even if arpack-ng is not a "development" project, merely making sure no bitrot is happening requires making tests more robust. Hoping that downstream does testing for you is wishful thinking -- and pushback I got proposing in scipy/scipy#14846 improving robustness of arpack tests in scipy shows this quite well. |
Hi @dimpase Do you know of such a wiki in any area of numerical analysis Bytheway have you used Pyarpack, could one |
I just tried pyarpack on macOS, with Homebrew's openblas and boost-python3, and it builds (with cmake, I didn't try autotools yet) But I am getting errors in
|
Tests to verify the quality of the results are welcome. There isn't any structure or sponsor behind arpack-ng. A quick step, we could integrate the coverage in the CI to make sure we don't regress.
|
@sylvestre, folks, |
Expected behavior
If I do something silly with the test result, e.g.
then
ssdrv1
"check" should fail, as this is a huge error in the test result.Actual behavior
It does not.
Where/how to reproduce the problem
modify the code as above and run
make check
The text was updated successfully, but these errors were encountered: