Skip to content
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

Netlib Testing Failures #40

Open
srvasanth opened this issue Sep 8, 2020 · 5 comments
Open

Netlib Testing Failures #40

srvasanth opened this issue Sep 8, 2020 · 5 comments

Comments

@srvasanth
Copy link

srvasanth commented Sep 8, 2020

Testing libFLAME library on Netlib's LAPACK test suite (version 3.4.2 & 3.5.0) results in failures in QR decomposition tests.
The failures are observed in only single and double precision QR test cases and not in complex/double complex tests.
Single and double precision variant of QR has libFLAME's C implementation while the complex variants are taking the f2c converted C files.
Attached are the test logs with summary of different tests (libFLAME tested on LAPACK test suites and LAPACK tested on LAPACK test suite). The failure messages in the log files can be reached by searching for SQR or GQR which are the tags for those test cases.
Edit note: BLAS library used for the tests was the library obtained from building Netlib's LAPACK package.

libflame_testing_results_on_lapack3.4.2.txt
libflame_testing_results_on_lapack3.5.0.txt
lapack3.5.0_testing_results_on_lapack3.5.0.txt

@fgvanzee
Copy link
Member

@srvasanth I took a look at your netlib test logs, and I think you can safely ignore these as false failures. libflame uses a different Householder transformation than the one in netlib LAPACK. This results in some different (and in our opinion, superior) linear algebra properties in the output of Householder-based operations such as QR factorization. As long as the libflame testsuite passes for QR factorization, then everything should be fine.

(@rvdg may also have a few words about this.)

@srvasanth
Copy link
Author

Thank you for the reply Mr. Field.
Currently I am in the process of adding LAPACK-3.9.0 updates into libFLAME. For this, the new and updated functionalities from LAPACK have been converted to C using f2c tool. Here, there are similar failures in single/double precision variants of QR, BD (SVD problems), SG (Symmetric Generalized Eigenvalue problems) test cases when tested using LAPACK-3.9.0 test suite. All these test cases call the Householder transformation functions. Can these failures also be considered as false failures?

@rvdg
Copy link

rvdg commented Sep 14, 2020 via email

@rvdg
Copy link

rvdg commented Sep 15, 2020 via email

@srvasanth
Copy link
Author

Thank you Dr. Robert for taking time to address the issue.
I will try to understand the additional functionalities added by lapack 3.9.0 version to see if any functionality as mentioned by Kyungjoo is indeed the cause of failures. Based on that understanding, I will check if one of your suggestions can be taken for further course of action.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants