-
Notifications
You must be signed in to change notification settings - Fork 480
Closed
Labels
Description
Description
Our coverage build was broken after the upgrade to 3.12.0 which led me to the bug in the lapack_testing.py script (see #954). After fixing that bug it was revealed that there are some tests which only fail in the coverage build:
--> LAPACK TESTING SUMMARY <--
Processing LAPACK Testing output found in the TESTING directory
SUMMARY nb test run numerical error other error
================ =========== ================= ================
REAL 1328283 36885 (2.777%) 0 (0.000%)
DOUBLE PRECISION 1329105 36885 (2.775%) 0 (0.000%)
COMPLEX 788035 36885 (4.681%) 0 (0.000%)
COMPLEX16 1029705 1 (0.000%) 0 (0.000%)
--> ALL PRECISIONS 4475128 110656 (2.473%) 0 (0.000%)
These tests are all related to the truncated QR routines:
testing_results.txt: SQK: 36885 out of 241365 tests failed to pass the threshold
testing_results.txt: DQK: 36885 out of 241365 tests failed to pass the threshold
testing_results.txt: CQK: 36885 out of 241695 tests failed to pass the threshold
Test ratios:
1: 2-norm(svd(A) - svd(R)) / ( max(M,N) * 2-norm(svd(R)) * EPS )
2: 1-norm( A*P - Q*R ) / ( max(M,N) * 1-norm(A) * EPS )
3: 1-norm( I - Q'*Q ) / ( M * EPS )
4: Returns 1.0D+100, if abs(R(K+1,K+1)) > abs(R(K,K)), where K=1:KFACT-1
5: 1-norm(Q**T * B - Q**T * B ) / ( M * EPS )
Messages:
DGEQP3RK M = 2, N = 2, NRHS = 1, KMAX = 2, ABSTOL = -1.0000 , RELTOL = -1.0000 , NB = 1, NX = 1, type 2, test 4, ratio = 0.15179E+73
DGEQP3RK M = 2, N = 2, NRHS = 1, KMAX = 3, ABSTOL = -1.0000 , RELTOL = -1.0000 , NB = 1, NX = 1, type 2, test 4, ratio = 0.15179E+73
DGEQP3RK M = 2, N = 2, NRHS = 1, KMAX = 2, ABSTOL = -1.0000 , RELTOL = -1.0000 , NB = 3, NX = 0, type 2, test 4, ratio = 0.15179E+73
DGEQP3RK M = 2, N = 2, NRHS = 1, KMAX = 3, ABSTOL = -1.0000 , RELTOL = -1.0000 , NB = 3, NX = 0, type 2, test 4, ratio = 0.15179E+73
DGEQP3RK M = 2, N = 2, NRHS = 1, KMAX = 2, ABSTOL = -1.0000 , RELTOL = -1.0000 , NB = 3, NX = 5, type 2, test 4, ratio = 0.15179E+73
It is always the 4th test which fails for all kinds of matrices. Weirdly, the COMPLEX16 routines don't have that issue and if I build without LAPACKE the COMPLEX tests are also fine. To reproduce this issue just build with -DCMAKE_BUILD_TYPE=coverage.
Hi @scr2016, I guess you know the most about these routines. Do you have any ideas about what might go wrong here?
cdluminate and scr2016