Skip to content

Undo the scaling of the least-squares solution in one step when A and B were scaled to the same end of the range - #1391

Open
rmlarsen wants to merge 1 commit into
Reference-LAPACK:masterfrom
rmlarsen:ls-drivers-undo-scaling
Open

Undo the scaling of the least-squares solution in one step when A and B were scaled to the same end of the range#1391
rmlarsen wants to merge 1 commit into
Reference-LAPACK:masterfrom
rmlarsen:ls-drivers-undo-scaling

Conversation

@rmlarsen

@rmlarsen rmlarsen commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Disclaimer: This PR was prepared using Claude Code.

Summary

The six least-squares drivers xGELS, xGELST, xGETSLS, xGELSY, xGELSD and xGELSS scale A and B into [SMLNUM, BIGNUM] before solving and undo the two scalings on the solution one after the other. When A and B were both scaled to the same end of the range the two factors share a constant that cancels, but the first step is applied on its own and can flush a solution entry to zero (both above BIGNUM) or overflow it (both below SMLNUM) before the second step would have brought it back. For A = 2^1023 I, b = (2^1023, 2^-27), whose solution is x = (1, 2^-1050), all 24 drivers return x = (1, 0) with INFO = 0. This PR applies the quotient of the two factors in one step in that case; nothing changes when at most one of A, B is scaled or they are scaled to opposite ends.

Description

With IASCL = IBSCL = 2 the drivers compute x = x' * (BIGNUM/ANRM) * (BNRM/BIGNUM). The first factor is as small as 2^-54, so any entry of x' below 2^-1020 (2^-125 in single precision) is rounded to zero, and the second factor cannot recover it. The mirror case IASCL = IBSCL = 1 multiplies by SMLNUM/ANRM, up to 2^104, first; an intermediate overflow there needs x' above 2^920 with b below SMLNUM, which a full-rank problem cannot produce, so it is merged for symmetry. The two mixed cases apply two factors in the same direction and are left as they are. The change was found while reviewing #1383, whose first revision copied this block.

DGELS on A = 2^1023 I, b = (2^1023, 2^-27)
master x = (1, 0), INFO = 0
this branch x = (1, 2^-1050), INFO = 0 (exact)

Fix. In each driver, when IASCL .EQ. IBSCL .AND. IASCL .NE. 0, call xLASCL( 'G', 0, 0, ANRM, BNRM, ... ) once on the solution instead of the two calls; otherwise the existing per-flag calls run unchanged. xLASCL never overshoots its target, so the single call cannot flush or overflow an entry whose final value is representable. In xGELSY, xGELSD and xGELSS the rescaling of R or S, which involves the factor of A alone, is moved into its own IF after the solution block; it is unchanged. Where both factors apply, the solution is now rounded once instead of twice, so it can differ from master in the last bit. 24 files: {s,d,c,z}{gels,gelst,getsls,gelsy,gelsd,gelss}.f.

Minimal reproducer (repro/undo_cases.f90 runs the case, and its mirror below SMLNUM, through all 24 drivers)

program flush
  implicit none
  double precision :: a(2,2), b(2), work(100)
  integer :: info
  a = 0d0; a(1,1) = scale(1d0, 1023); a(2,2) = a(1,1)
  b = [scale(1d0, 1023), scale(1d0, -27)]           ! x = (1, 2^-1050)
  call dgels('N', 2, 2, 1, a, 2, b, 2, work, 100, info)
  print '(a,i0,a,2es12.4)', 'DGELS: info = ', info, '  x = ', b
end program
BEFORE (master):      DGELS: info = 0  x =   1.0000E+00  0.0000E+00
AFTER (this branch):  DGELS: info = 0  x =   1.0000E+00  8.2890-317

Validation

Exponent sweep, six drivers, four precisions, 2028 cases

repro/ls_sweep.f90 runs each driver on a well-conditioned 6-by-4 problem with A scaled by 2^ka and b by 2^kb over a grid of exponents from the subnormal range to the overflow threshold (double: -1070 to 1021; single: -148 to 125), skipping pairs whose exact solution is not representable, and compares the solution with the unscaled twin after rescaling; x(1) is printed in hex for a bit-for-bit diff against master. run_sweep.sh reproduces the table.

cases code path unchanged of which bit-identical to master both scaled to the same end of which bit-identical max deviation from the twin, master / branch failures, master / branch
S/C drivers (12) 86 each 68 68 18 2 to 14 1.3e-6 / 1.3e-6 0 / 0
D/Z drivers (12) 83 each 65 65 18 5 to 16 2.8e-14 / 2.8e-14 0 / 0

Every case whose code path is unchanged is bit-identical to master. In the merged cases the solution is rounded once instead of twice; the cases that still agree with master to the bit are those whose two norms have a power-of-two quotient. The twin problem has no solution entry near the underflow threshold, so the flush itself is covered by undo_cases.f90, not by the sweep.

Test suite. The full LAPACK test suite passes on this branch: 215 of 215 CTest entries, 5441901 LAPACK tests and 315872 BLAS tests with 0 numerical errors and 0 other errors, the same totals as the parent commit f96546fc9 built and run the same way (GCC 13.3, CMAKE_BUILD_TYPE=Release, BUILD_INDEX64_EXT_API=ON).

Regression test. xQRT13 scales its "scaled up" matrix to 1/(SFMIN/EPS) = 2^969, and xDRVLS now scales it to a fixed 2^1016 instead, above the drivers' threshold, so that the scaling block runs at all. In the scaled-up types xDRVLS also multiplies the last column of the exact solution by 256*SFMIN before forming the right-hand side, which puts it below what the first of the two undo steps can represent. xQRT16 normalizes its residual per right-hand side, so the flushed column is not hidden by the other columns: on the parent commit the xGELS, xGELST and xGETSLS blocks fail between 2395 and 5041 ratios per precision, and with the fix all four precisions pass. Raising the scale also gives IASCL and IBSCL their first coverage in the six drivers.

Why the test suite never saw it. The least-squares tests in xDRVLS take their "scaled up" and "scaled down" matrices from xQRT13, which scales the largest entry to 1/(SFMIN/DLAMCH('Epsilon')) = 2^969 (down: 2^-969), while the drivers scale when the largest entry is outside [DLAMCH('S')/DLAMCH('P'), 1/that] = [2^-970, 2^970]. The test matrices sit one binade inside the window on both sides, so IASCL and IBSCL are 0 for every matrix the suite generates and the undo block at the end of the drivers has never run under the suite. Moving the test scale one binade outward and giving one right-hand side a solution below 2^-1020 makes xQRT16's per-column residual catch the flush (ratios of 10^3 to 10^5 on master against a threshold of 30); that test-suite change is prepared separately so that this fix stays a 24-file source change.

Performance. No change on the common path: the merged call replaces two xLASCL calls by one and runs only when both matrices were scaled to the same end of the range.

Checklist

  • The documentation has been updated. (No interface change; the routines' documentation does not describe the scaling.)
  • If the PR solves a specific issue, it is set to be closed on merge. (No tracking issue; happy to open one.)

@rmlarsen

rmlarsen commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

For the reviewers, on ordering: this PR is independent of #1383 (it was found while reviewing that PR's first revision, which had copied the two-step undo) and of #1381 and #1382, and merges cleanly with each of them in either order. It shares {s,d,c,z}gelsd.f with #1382, which only changes the documentation of INFO at the top of those files; this PR changes the undo block at the bottom, and a test merge of the two branches has no conflicts.

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
236 2 234 0
View the top 3 failed test(s) by shortest run time
BLAS.blas::cblat2.out (COMPLEX Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS.blas::cblat3.out (COMPLEX Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS.blas::dblat2.out (DOUBLE PRECISION Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS.blas::sblat2.out (REAL Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS.blas::sblat3.out (REAL Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS.blas::zblat2.out (COMPLEX16 Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS.blas::zblat3.out (COMPLEX16 Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::cblat2_64.out (COMPLEX Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::cblat3_64.out (COMPLEX Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::dblat2_64.out (DOUBLE PRECISION Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::dblat3_64.out (DOUBLE PRECISION Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::sblat2_64.out (REAL Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::zblat2_64.out (COMPLEX16 Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::zblat3_64.out (COMPLEX16 Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS.cblas::ctest2.out (COMPLEX C interface to Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS.cblas::dtest2.out (DOUBLE PRECISION C interface to Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS.cblas::stest3.out (REAL C interface to Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS_64.cblas::ctest3_64.out (COMPLEX C interface to Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS_64.cblas::dtest2_64.out (DOUBLE PRECISION C interface to Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS_64.cblas::stest2_64.out (REAL C interface to Level 2 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS_64.cblas::ztest3_64.out (COMPLEX16 C interface to Level 3 BLAS routines)
Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
LAPACK_64.eig::sec_64.out (REAL Eigen Condition)
Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to STRSYL_64 parameter number  1 had an illegal value
LAPACK.eig::ccsd.out (COMPLEX CS Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CUNCSD parameter number  7 had an illegal value
LAPACK.eig::cec.out (COMPLEX Eigen Condition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CTRSYL parameter number  1 had an illegal value
LAPACK.eig::cgd.out (COMPLEX Nonsymmetric Generalized Eigenvalue Problem driver)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGES parameter number  1 had an illegal value
LAPACK.eig::cgg.out (COMPLEX Nonsymmetric Generalized Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGHRD parameter number  1 had an illegal value
LAPACK.eig::cglm.out (COMPLEX Generalized Linear Regression Model routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGGLM parameter number  1 had an illegal value
LAPACK.eig::cgqr.out (COMPLEX Generalized QR and RQ factorization routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGQRF parameter number  1 had an illegal value
LAPACK.eig::cgsv.out (COMPLEX Generalized Singular Value Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGSVD3 parameter number  1 had an illegal value
LAPACK.eig::clse.out (COMPLEX Constrained Linear Least Squares routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGLSE parameter number  1 had an illegal value
LAPACK.eig::csb.out (COMPLEX Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CHBTRD parameter number  1 had an illegal value
LAPACK.eig::cse2.out (COMPLEX Symmetric Eigenvalue Problem 2-stage)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CHETRD parameter number  1 had an illegal value
LAPACK.eig::csep.out (COMPLEX Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CHETRD parameter number  1 had an illegal value
LAPACK.eig::csvd.out (COMPLEX Singular Value Decomposition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGEBRD parameter number  1 had an illegal value
LAPACK.eig::dcsd.out (DOUBLE PRECISION CS Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DORCSD parameter number  7 had an illegal value
LAPACK.eig::dec.out (DOUBLE PRECISION Eigen Condition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DTRSYL parameter number  1 had an illegal value
LAPACK.eig::dgd.out (DOUBLE PRECISION Nonsymmetric Generalized Eigenvalue Problem driver)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGES parameter number  1 had an illegal value
LAPACK.eig::dgg.out (DOUBLE PRECISION Nonsymmetric Generalized Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGHRD parameter number  1 had an illegal value
LAPACK.eig::dglm.out (DOUBLE PRECISION Generalized Linear Regression Model routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGGLM parameter number  1 had an illegal value
LAPACK.eig::dgqr.out (DOUBLE PRECISION Generalized QR and RQ factorization routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGQRF parameter number  1 had an illegal value
LAPACK.eig::dgsv.out (DOUBLE PRECISION Generalized Singular Value Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGSVD3 parameter number  1 had an illegal value
LAPACK.eig::dlse.out (DOUBLE PRECISION Constrained Linear Least Squares routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGLSE parameter number  1 had an illegal value
LAPACK.eig::dnep.out (DOUBLE PRECISION Nonsymmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGEBAL parameter number  1 had an illegal value
LAPACK.eig::dsb.out (DOUBLE PRECISION Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSBTRD parameter number  1 had an illegal value
LAPACK.eig::dse2.out (DOUBLE PRECISION Symmetric Eigenvalue Problem 2-stage)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSYTRD parameter number  1 had an illegal value
LAPACK.eig::dsep.out (DOUBLE PRECISION Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSYTRD parameter number  1 had an illegal value
LAPACK.eig::dsvd.out (DOUBLE PRECISION Singular Value Decomposition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGEBRD parameter number  1 had an illegal value
LAPACK.eig::scsd.out (REAL CS Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SORCSD parameter number  7 had an illegal value
LAPACK.eig::sec.out (REAL Eigen Condition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to STRSYL parameter number  1 had an illegal value
LAPACK.eig::sed.out (REAL Nonsymmetric Eigenvalue)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGEEV parameter number  1 had an illegal value
LAPACK.eig::sgd.out (REAL Nonsymmetric Generalized Eigenvalue Problem driver)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGES parameter number  1 had an illegal value
LAPACK.eig::sgg.out (REAL Nonsymmetric Generalized Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGHRD parameter number  1 had an illegal value
LAPACK.eig::sglm.out (REAL Generalized Linear Regression Model routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGGLM parameter number  1 had an illegal value
LAPACK.eig::sgqr.out (REAL Generalized QR and RQ factorization routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGQRF parameter number  1 had an illegal value
LAPACK.eig::sgsv.out (REAL Generalized Singular Value Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGSVD3 parameter number  1 had an illegal value
LAPACK.eig::slse.out (REAL Constrained Linear Least Squares routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGLSE parameter number  1 had an illegal value
LAPACK.eig::ssb.out (REAL Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SSBTRD parameter number  1 had an illegal value
LAPACK.eig::sse2.out (REAL Symmetric Eigenvalue Problem 2-stage)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SSYTRD parameter number  1 had an illegal value
LAPACK.eig::ssep.out (REAL Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SSYTRD parameter number  1 had an illegal value
LAPACK.eig::ssvd.out (REAL Singular Value Decomposition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGEBRD parameter number  1 had an illegal value
LAPACK.eig::zcsd.out (COMPLEX16 CS Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZUNCSD parameter number  7 had an illegal value
LAPACK.eig::zec.out (COMPLEX16 Eigen Condition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZTRSYL parameter number  1 had an illegal value
LAPACK.eig::zgd.out (COMPLEX16 Nonsymmetric Generalized Eigenvalue Problem driver)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGES parameter number  1 had an illegal value
LAPACK.eig::zgg.out (COMPLEX16 Nonsymmetric Generalized Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGHRD parameter number  1 had an illegal value
LAPACK.eig::zglm.out (COMPLEX16 Generalized Linear Regression Model routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGGLM parameter number  1 had an illegal value
LAPACK.eig::zgqr.out (COMPLEX16 Generalized QR and RQ factorization routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGQRF parameter number  1 had an illegal value
LAPACK.eig::zgsv.out (COMPLEX16 Generalized Singular Value Decomposition routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGSVD3 parameter number  1 had an illegal value
LAPACK.eig::zlse.out (COMPLEX16 Constrained Linear Least Squares routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGLSE parameter number  1 had an illegal value
LAPACK.eig::zsb.out (COMPLEX16 Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZHBTRD parameter number  1 had an illegal value
LAPACK.eig::zse2.out (COMPLEX16 Symmetric Eigenvalue Problem 2-stage)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZHETRD parameter number  1 had an illegal value
LAPACK.eig::zsep.out (COMPLEX16 Symmetric Eigenvalue Problem)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZHETRD parameter number  1 had an illegal value
LAPACK.eig::zsvd.out (COMPLEX16 Singular Value Decomposition)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGEBRD parameter number  1 had an illegal value
LAPACK.lin::ctest.out (COMPLEX Linear Equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGETRF parameter number  1 had an illegal value
LAPACK.lin::dtest.out (DOUBLE PRECISION Linear Equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGETRF parameter number  1 had an illegal value
LAPACK.lin::stest.out (REAL Linear Equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGETRF parameter number  1 had an illegal value
LAPACK.lin::ztest.out (COMPLEX16 Linear Equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGETRF parameter number  1 had an illegal value
LAPACK.mixed::dstest.out (DOUBLE PRECISION Mixed Precision linear equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSGESV parameter number  1 had an illegal value
LAPACK.mixed::zctest.out (COMPLEX16 Mixed Precision linear equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZCGESV parameter number  1 had an illegal value
LAPACK.rfp::ctest_rfp.out (COMPLEX RFP linear equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CPFTRF parameter number  1 had an illegal value
LAPACK.rfp::dtest_rfp.out (DOUBLE PRECISION RFP linear equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DPFTRF parameter number  1 had an illegal value
LAPACK.rfp::ztest_rfp.out (COMPLEX16 RFP linear equation routines)
Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZPFTRF parameter number  1 had an illegal value
View the full list of 76 ❄️ flaky test(s)
BLAS.blas::dblat3.out (DOUBLE PRECISION Level 3 BLAS routines)

Flake rate in main: 15.17% (Passed 738 times, Failed 132 times)

Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
BLAS_64.blas::sblat3_64.out (REAL Level 3 BLAS routines)

Flake rate in main: 22.13% (Passed 482 times, Failed 137 times)

Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS.cblas::stest2.out (REAL C interface to Level 2 BLAS routines)

Flake rate in main: 7.46% (Passed 273 times, Failed 22 times)

Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
CBLAS_64.cblas::dtest3_64.out (DOUBLE PRECISION C interface to Level 3 BLAS routines)

Flake rate in main: 5.00% (Passed 19 times, Failed 1 times)

Stack Traces | 0s run time
1 other error(s) (illegal: 0, info: 1), 0 test(s) run
output ends without 'END OF TESTS': the driver did not finish
LAPACK.eig::ced.out (COMPLEX Nonsymmetric Eigenvalue)

Flake rate in main: 42.04% (Passed 1376 times, Failed 998 times)

Stack Traces | 0.24s run time
157 numerical error(s), 14074 test(s) run
 CES:   40 out of  3812 tests failed to pass the threshold
 CEV:   58 out of  1096 tests failed to pass the threshold
 CSX:   59 out of  3994 tests failed to pass the threshold
LAPACK.eig::cnep.out (COMPLEX Nonsymmetric Eigenvalue Problem)

Flake rate in main: 27.16% (Passed 1719 times, Failed 641 times)

Stack Traces | 0.09s run time
361 numerical error(s), 46 other error(s) (illegal: 0, info: 46), 10080 test(s) run
 CCHKHS: CHSEIN(R) returned INFO=     1.
 CCHKHS: CHSEIN(L) returned INFO=     1.
 CCHKHS: CHSEIN(R) returned INFO=    14.
 CCHKHS: CHSEIN(L) returned INFO=    14.
 CCHKHS: CHSEIN(R) returned INFO=    15.
 CCHKHS: CHSEIN(L) returned INFO=    15.
 CCHKHS: CHSEIN(R) returned INFO=    16.
 CCHKHS: CHSEIN(L) returned INFO=    16.
 CCHKHS: CHSEIN(R) returned INFO=    15.
 CCHKHS: CHSEIN(L) returned INFO=    15.
 CHS:   72 out of  2016 tests failed to pass the threshold
 CCHKHS: CHSEIN(L) returned INFO=     1.
 CCHKHS: CHSEIN(R) returned INFO=    12.
 CCHKHS: CHSEIN(L) returned INFO=    12.
 CCHKHS: CHSEIN(R) returned INFO=     7.
 CCHKHS: CHSEIN(L) returned INFO=    11.
 CCHKHS: CHSEIN(R) returned INFO=    16.
 CCHKHS: CHSEIN(L) returned INFO=    16.
 CCHKHS: CHSEIN(R) returned INFO=    10.
 CCHKHS: CHSEIN(L) returned INFO=    13.
 CHS:   71 out of  2016 tests failed to pass the threshold
 CCHKHS: CHSEIN(R) returned INFO=     2.
 CCHKHS: CHSEIN(L) returned INFO=     3.
 CCHKHS: CHSEIN(R) returned INFO=    12.
 CCHKHS: CHSEIN(L) returned INFO=    12.
 CCHKHS: CHSEIN(R) returned INFO=    13.
 CCHKHS: CHSEIN(L) returned INFO=    14.
 CCHKHS: CHSEIN(R) returned INFO=    16.
 CCHKHS: CHSEIN(L) returned INFO=    16.
 CCHKHS: CHSEIN(R) returned INFO=    11.
 CCHKHS: CHSEIN(L) returned INFO=    12.
 CHS:   76 out of  2016 tests failed to pass the threshold
 CCHKHS: CHSEIN(L) returned INFO=     2.
 CCHKHS: CHSEIN(R) returned INFO=    13.
 CCHKHS: CHSEIN(L) returned INFO=    13.
 CCHKHS: CHSEIN(R) returned INFO=    11.
 CCHKHS: CHSEIN(L) returned INFO=    13.
 CCHKHS: CHSEIN(R) returned INFO=    15.
 CCHKHS: CHSEIN(L) returned INFO=    16.
 CCHKHS: CHSEIN(R) returned INFO=    14.
 CCHKHS: CHSEIN(L) returned INFO=    15.
 CHS:   72 out of  2016 tests failed to pass the threshold
 CCHKHS: CHSEIN(R) returned INFO=    14.
 CCHKHS: CHSEIN(L) returned INFO=    14.
 CCHKHS: CHSEIN(R) returned INFO=    12.
 CCHKHS: CHSEIN(L) returned INFO=    13.
 CCHKHS: CHSEIN(R) returned INFO=    16.
 CCHKHS: CHSEIN(L) returned INFO=    16.
 CCHKHS: CHSEIN(R) returned INFO=    11.
 CCHKHS: CHSEIN(L) returned INFO=    11.
 CHS:   70 out of  2016 tests failed to pass the threshold
LAPACK.eig::ded.out (DOUBLE PRECISION Nonsymmetric Eigenvalue)

Flake rate in main: 34.58% (Passed 1551 times, Failed 820 times)

Stack Traces | 24.6s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGEEV parameter number  1 had an illegal value
LAPACK.eig::snep.out (REAL Nonsymmetric Eigenvalue Problem)

Flake rate in main: 28.98% (Passed 1684 times, Failed 687 times)

Stack Traces | 0.03s run time
1 numerical error(s), 10080 test(s) run
 SHS:    1 out of  2016 tests failed to pass the threshold
LAPACK.eig::zed.out (COMPLEX16 Nonsymmetric Eigenvalue)

Flake rate in main: 42.04% (Passed 1376 times, Failed 998 times)

Stack Traces | 0.28s run time
140 numerical error(s), 14072 test(s) run
 ZES:   36 out of  3814 tests failed to pass the threshold
 ZEV:   52 out of  1092 tests failed to pass the threshold
 ZSX:   52 out of  3994 tests failed to pass the threshold
LAPACK.eig::znep.out (COMPLEX16 Nonsymmetric Eigenvalue Problem)

Flake rate in main: 27.16% (Passed 1719 times, Failed 641 times)

Stack Traces | 0.11s run time
444 numerical error(s), 88 other error(s) (illegal: 0, info: 88), 10080 test(s) run
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=     2.
 ZCHKHS: ZHSEIN(R) returned INFO=     8.
 ZCHKHS: ZHSEIN(L) returned INFO=    15.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=     2.
 ZCHKHS: ZHSEIN(L) returned INFO=     2.
 ZCHKHS: ZHSEIN(R) returned INFO=    14.
 ZCHKHS: ZHSEIN(L) returned INFO=    14.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZHS:   88 out of  2016 tests failed to pass the threshold
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=     7.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=    15.
 ZCHKHS: ZHSEIN(L) returned INFO=    15.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=    12.
 ZCHKHS: ZHSEIN(L) returned INFO=    12.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZHS:   94 out of  2016 tests failed to pass the threshold
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=     5.
 ZCHKHS: ZHSEIN(L) returned INFO=    10.
 ZCHKHS: ZHSEIN(R) returned INFO=    15.
 ZCHKHS: ZHSEIN(L) returned INFO=    15.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=    12.
 ZCHKHS: ZHSEIN(L) returned INFO=    12.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZHS:   88 out of  2016 tests failed to pass the threshold
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=     5.
 ZCHKHS: ZHSEIN(L) returned INFO=    11.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=    12.
 ZCHKHS: ZHSEIN(L) returned INFO=    12.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZHS:   82 out of  2016 tests failed to pass the threshold
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    15.
 ZCHKHS: ZHSEIN(L) returned INFO=    15.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    10.
 ZCHKHS: ZHSEIN(L) returned INFO=    13.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=    14.
 ZCHKHS: ZHSEIN(L) returned INFO=    14.
 ZCHKHS: ZHSEIN(R) returned INFO=     1.
 ZCHKHS: ZHSEIN(L) returned INFO=     1.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZCHKHS: ZHSEIN(R) returned INFO=    16.
 ZCHKHS: ZHSEIN(L) returned INFO=    16.
 ZHS:   92 out of  2016 tests failed to pass the threshold
LAPACK.rfp::stest_rfp.out (REAL RFP linear equation routines)

Flake rate in main: 27.16% (Passed 1719 times, Failed 641 times)

Stack Traces | 0.2s run time
1 numerical error(s), 13128 test(s) run
  STFSM auxiliary routine:     1 out of  7776 tests failed to pass the threshold
LAPACK_64.eig::ccsd_64.out (COMPLEX CS Decomposition routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CUNCSD_64 parameter number  7 had an illegal value
LAPACK_64.eig::cec_64.out (COMPLEX Eigen Condition)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CTRSYL_64 parameter number  1 had an illegal value
LAPACK_64.eig::ced_64.out (COMPLEX Nonsymmetric Eigenvalue)

Flake rate in main: 39.54% (Passed 1526 times, Failed 998 times)

Stack Traces | 0.24s run time
157 numerical error(s), 14074 test(s) run
 CES:   40 out of  3812 tests failed to pass the threshold
 CEV:   58 out of  1096 tests failed to pass the threshold
 CSX:   59 out of  3994 tests failed to pass the threshold
LAPACK_64.eig::cgd_64.out (COMPLEX Nonsymmetric Generalized Eigenvalue Problem driver)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGES_64 parameter number  1 had an illegal value
LAPACK_64.eig::cgg_64.out (COMPLEX Nonsymmetric Generalized Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGHRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::cglm_64.out (COMPLEX Generalized Linear Regression Model routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGGLM_64 parameter number  1 had an illegal value
LAPACK_64.eig::cgqr_64.out (COMPLEX Generalized QR and RQ factorization routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGQRF_64 parameter number  1 had an illegal value
LAPACK_64.eig::cgsv_64.out (COMPLEX Generalized Singular Value Decomposition routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGSVD3_64 parameter number  1 had an illegal value
LAPACK_64.eig::clse_64.out (COMPLEX Constrained Linear Least Squares routines)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGGLSE_64 parameter number  1 had an illegal value
LAPACK_64.eig::cnep_64.out (COMPLEX Nonsymmetric Eigenvalue Problem)

Flake rate in main: 25.62% (Passed 1861 times, Failed 641 times)

Stack Traces | 0.09s run time
361 numerical error(s), 46 other error(s) (illegal: 0, info: 46), 10080 test(s) run
 CCHKHS_64: CHSEIN_64(R) returned INFO=     1.
 CCHKHS_64: CHSEIN_64(L) returned INFO=     1.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    14.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    14.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    15.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    15.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    15.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    15.
 CHS:   72 out of  2016 tests failed to pass the threshold
 CCHKHS_64: CHSEIN_64(L) returned INFO=     1.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    12.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    12.
 CCHKHS_64: CHSEIN_64(R) returned INFO=     7.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    11.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    10.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    13.
 CHS:   71 out of  2016 tests failed to pass the threshold
 CCHKHS_64: CHSEIN_64(R) returned INFO=     2.
 CCHKHS_64: CHSEIN_64(L) returned INFO=     3.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    12.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    12.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    13.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    14.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    11.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    12.
 CHS:   76 out of  2016 tests failed to pass the threshold
 CCHKHS_64: CHSEIN_64(L) returned INFO=     2.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    13.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    13.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    11.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    13.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    15.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    14.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    15.
 CHS:   72 out of  2016 tests failed to pass the threshold
 CCHKHS_64: CHSEIN_64(R) returned INFO=    14.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    14.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    12.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    13.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    16.
 CCHKHS_64: CHSEIN_64(R) returned INFO=    11.
 CCHKHS_64: CHSEIN_64(L) returned INFO=    11.
 CHS:   70 out of  2016 tests failed to pass the threshold
LAPACK_64.eig::csb_64.out (COMPLEX Symmetric Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CHBTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::cse2_64.out (COMPLEX Symmetric Eigenvalue Problem 2-stage)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CHETRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::csep_64.out (COMPLEX Symmetric Eigenvalue Problem)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CHETRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::csvd_64.out (COMPLEX Singular Value Decomposition)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGEBRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::dcsd_64.out (DOUBLE PRECISION CS Decomposition routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DORCSD_64 parameter number  7 had an illegal value
LAPACK_64.eig::dec_64.out (DOUBLE PRECISION Eigen Condition)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DTRSYL_64 parameter number  1 had an illegal value
LAPACK_64.eig::ded_64.out (DOUBLE PRECISION Nonsymmetric Eigenvalue)

Flake rate in main: 32.58% (Passed 1697 times, Failed 820 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGEEV_64 parameter number  1 had an illegal value
LAPACK_64.eig::dgd_64.out (DOUBLE PRECISION Nonsymmetric Generalized Eigenvalue Problem driver)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGES_64 parameter number  1 had an illegal value
LAPACK_64.eig::dgg_64.out (DOUBLE PRECISION Nonsymmetric Generalized Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGHRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::dglm_64.out (DOUBLE PRECISION Generalized Linear Regression Model routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGGLM_64 parameter number  1 had an illegal value
LAPACK_64.eig::dgqr_64.out (DOUBLE PRECISION Generalized QR and RQ factorization routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGQRF_64 parameter number  1 had an illegal value
LAPACK_64.eig::dgsv_64.out (DOUBLE PRECISION Generalized Singular Value Decomposition routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGSVD3_64 parameter number  1 had an illegal value
LAPACK_64.eig::dlse_64.out (DOUBLE PRECISION Constrained Linear Least Squares routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGGLSE_64 parameter number  1 had an illegal value
LAPACK_64.eig::dnep_64.out (DOUBLE PRECISION Nonsymmetric Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGEBAL_64 parameter number  1 had an illegal value
LAPACK_64.eig::dsb_64.out (DOUBLE PRECISION Symmetric Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSBTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::dse2_64.out (DOUBLE PRECISION Symmetric Eigenvalue Problem 2-stage)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSYTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::dsep_64.out (DOUBLE PRECISION Symmetric Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSYTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::dsvd_64.out (DOUBLE PRECISION Singular Value Decomposition)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGEBRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::scsd_64.out (REAL CS Decomposition routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SORCSD_64 parameter number  7 had an illegal value
LAPACK_64.eig::sed_64.out (REAL Nonsymmetric Eigenvalue)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGEEV_64 parameter number  1 had an illegal value
LAPACK_64.eig::sgd_64.out (REAL Nonsymmetric Generalized Eigenvalue Problem driver)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGES_64 parameter number  1 had an illegal value
LAPACK_64.eig::sgg_64.out (REAL Nonsymmetric Generalized Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGHRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::sglm_64.out (REAL Generalized Linear Regression Model routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGGLM_64 parameter number  1 had an illegal value
LAPACK_64.eig::sgqr_64.out (REAL Generalized QR and RQ factorization routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGQRF_64 parameter number  1 had an illegal value
LAPACK_64.eig::sgsv_64.out (REAL Generalized Singular Value Decomposition routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGSVD3_64 parameter number  1 had an illegal value
LAPACK_64.eig::slse_64.out (REAL Constrained Linear Least Squares routines)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGGLSE_64 parameter number  1 had an illegal value
LAPACK_64.eig::snep_64.out (REAL Nonsymmetric Eigenvalue Problem)

Flake rate in main: 27.29% (Passed 1830 times, Failed 687 times)

Stack Traces | 0.03s run time
1 numerical error(s), 10080 test(s) run
 SHS:    1 out of  2016 tests failed to pass the threshold
LAPACK_64.eig::ssb_64.out (REAL Symmetric Eigenvalue Problem)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SSBTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::sse2_64.out (REAL Symmetric Eigenvalue Problem 2-stage)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SSYTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::ssep_64.out (REAL Symmetric Eigenvalue Problem)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SSYTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::ssvd_64.out (REAL Singular Value Decomposition)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGEBRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::zcsd_64.out (COMPLEX16 CS Decomposition routines)

Flake rate in main: 39.29% (Passed 68 times, Failed 44 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZUNCSD_64 parameter number  7 had an illegal value
LAPACK_64.eig::zec_64.out (COMPLEX16 Eigen Condition)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZTRSYL_64 parameter number  1 had an illegal value
LAPACK_64.eig::zed_64.out (COMPLEX16 Nonsymmetric Eigenvalue)

Flake rate in main: 39.54% (Passed 1526 times, Failed 998 times)

Stack Traces | 0.28s run time
140 numerical error(s), 14072 test(s) run
 ZES:   36 out of  3814 tests failed to pass the threshold
 ZEV:   52 out of  1092 tests failed to pass the threshold
 ZSX:   52 out of  3994 tests failed to pass the threshold
LAPACK_64.eig::zgd_64.out (COMPLEX16 Nonsymmetric Generalized Eigenvalue Problem driver)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGES_64 parameter number  1 had an illegal value
LAPACK_64.eig::zgg_64.out (COMPLEX16 Nonsymmetric Generalized Eigenvalue Problem)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGHRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::zglm_64.out (COMPLEX16 Generalized Linear Regression Model routines)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGGLM_64 parameter number  1 had an illegal value
LAPACK_64.eig::zgqr_64.out (COMPLEX16 Generalized QR and RQ factorization routines)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGQRF_64 parameter number  1 had an illegal value
LAPACK_64.eig::zgsv_64.out (COMPLEX16 Generalized Singular Value Decomposition routines)

Flake rate in main: 39.29% (Passed 68 times, Failed 44 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGSVD3_64 parameter number  1 had an illegal value
LAPACK_64.eig::zlse_64.out (COMPLEX16 Constrained Linear Least Squares routines)

Flake rate in main: 39.29% (Passed 68 times, Failed 44 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGGLSE_64 parameter number  1 had an illegal value
LAPACK_64.eig::znep_64.out (COMPLEX16 Nonsymmetric Eigenvalue Problem)

Flake rate in main: 33.95% (Passed 1667 times, Failed 857 times)

Stack Traces | 0.11s run time
444 numerical error(s), 88 other error(s) (illegal: 0, info: 88), 10080 test(s) run
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     2.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     8.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    15.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     2.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     2.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    14.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    14.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZHS:   88 out of  2016 tests failed to pass the threshold
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     7.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    15.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    15.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    12.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    12.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZHS:   94 out of  2016 tests failed to pass the threshold
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     5.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    10.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    15.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    15.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    12.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    12.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZHS:   88 out of  2016 tests failed to pass the threshold
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     5.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    11.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    12.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    12.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZHS:   82 out of  2016 tests failed to pass the threshold
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    15.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    15.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    10.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    13.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    14.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    14.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=     1.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(R) returned INFO=    16.
 ZCHKHS_64: ZHSEIN_64(L) returned INFO=    16.
 ZHS:   92 out of  2016 tests failed to pass the threshold
LAPACK_64.eig::zsb_64.out (COMPLEX16 Symmetric Eigenvalue Problem)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZHBTRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::zse2_64.out (COMPLEX16 Symmetric Eigenvalue Problem 2-stage)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZHETRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::zsep_64.out (COMPLEX16 Symmetric Eigenvalue Problem)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZHETRD_64 parameter number  1 had an illegal value
LAPACK_64.eig::zsvd_64.out (COMPLEX16 Singular Value Decomposition)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGEBRD_64 parameter number  1 had an illegal value
LAPACK_64.lin::ctest_64.out (COMPLEX Linear Equation routines)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CGETRF_64 parameter number  1 had an illegal value
LAPACK_64.lin::dtest_64.out (DOUBLE PRECISION Linear Equation routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DGETRF_64 parameter number  1 had an illegal value
LAPACK_64.lin::stest_64.out (REAL Linear Equation routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to SGETRF_64 parameter number  1 had an illegal value
LAPACK_64.lin::ztest_64.out (COMPLEX16 Linear Equation routines)

Flake rate in main: 39.29% (Passed 68 times, Failed 44 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZGETRF_64 parameter number  1 had an illegal value
LAPACK_64.mixed::dstest_64.out (DOUBLE PRECISION Mixed Precision linear equation routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DSGESV_64 parameter number  1 had an illegal value
LAPACK_64.mixed::zctest_64.out (COMPLEX16 Mixed Precision linear equation routines)

Flake rate in main: 39.29% (Passed 68 times, Failed 44 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZCGESV_64 parameter number  1 had an illegal value
LAPACK_64.rfp::ctest_rfp_64.out (COMPLEX RFP linear equation routines)

Flake rate in main: 20.92% (Passed 518 times, Failed 137 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to CPFTRF_64 parameter number  1 had an illegal value
LAPACK_64.rfp::dtest_rfp_64.out (DOUBLE PRECISION RFP linear equation routines)

Flake rate in main: 37.93% (Passed 36 times, Failed 22 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to DPFTRF_64 parameter number  1 had an illegal value
LAPACK_64.rfp::stest_rfp_64.out (REAL RFP linear equation routines)

Flake rate in main: 25.62% (Passed 1861 times, Failed 641 times)

Stack Traces | 0.18s run time
1 numerical error(s), 13128 test(s) run
 STFSM_ auxiliary routine:     1 out of  7776 tests failed to pass the threshold
LAPACK_64.rfp::ztest_rfp_64.out (COMPLEX16 RFP linear equation routines)

Flake rate in main: 39.29% (Passed 68 times, Failed 44 times)

Stack Traces | 24.1s run time
1 other error(s) (illegal: 1, info: 0), 0 test(s) run
 ** On entry to ZPFTRF_64 parameter number  1 had an illegal value

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

… B were scaled to the same end of the range

xGELS, xGELST, xGETSLS, xGELSY, xGELSD and xGELSS scale A and B into
[SMLNUM, BIGNUM] before solving and undo the two scalings on the
solution one after the other.  When both were scaled to the same end
the factors share a constant that cancels, but the first step runs on
its own: with both above BIGNUM it multiplies by BIGNUM/ANRM, as small
as 2^-54, and flushes any solution entry below 2^-1020 that the second
step, BNRM/BIGNUM, would have restored.  For A = 2^1023 I and
b = (2^1023, 2^-27), whose solution is (1, 2^-1050), all 24 drivers
return (1, 0) with INFO = 0.  The mirror case below SMLNUM applies the
large factor first and could overflow, though a full-rank problem
cannot reach it.

When IASCL = IBSCL /= 0, apply the quotient BNRM/ANRM in one xLASCL
call, which never overshoots its target; the other combinations apply
two factors in the same direction and are unchanged.  In xGELSY,
xGELSD and xGELSS the rescaling of R or S by the factor of A alone
moves into its own IF and is unchanged.  Where both factors apply the
solution is rounded once instead of twice and can differ from the
previous result in the last bit.

Found while reviewing the first revision of the xGGLSE/xGGGLM scaling
change, which copied this block.

The test suite never ran the block: xQRT13 scales its "scaled up"
matrix to 1/(SFMIN/EPS) = 2^969, one binade inside the drivers'
threshold of 2^970, so IASCL and IBSCL were zero for every matrix it
generates.  xQRT13 now scales up to a fixed 2^1016 instead, and xDRVLS
makes the last column of the exact solution 256*SFMIN in the scaled-up
types, which is small enough for the first of the two undo steps to
flush it.  xQRT16 normalizes its residual per right-hand side, so the
lost column is visible: the parent fails between 2395 and 5041 ratios
per precision, this branch none.

Over a sweep of 2028 (precision,
driver, exponent of A, exponent of b) cases every case whose code path
is unchanged is bit-identical to the parent, and the merged cases agree
with the unscaled twin as closely as before.  The full LAPACK test
suite passes with the same totals as the parent.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@rmlarsen
rmlarsen force-pushed the ls-drivers-undo-scaling branch from 5f4988f to 4bc258e Compare September 8, 2026 04:11
@rmlarsen

rmlarsen commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Verified on an Apple M4 (macOS, Homebrew gfortran 16.2, Release build with the CI flags). With this branch merged onto current master, the full test suite passes, the new tests fail without the fix, and the reproducer behaves as described above.

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

Successfully merging this pull request may close these issues.

1 participant