Skip to content

*drgev: relax eigenvalue consistency test#1297

Open
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue744
Open

*drgev: relax eigenvalue consistency test#1297
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue744

Conversation

@jschueller

Copy link
Copy Markdown
Contributor

The ZGGEV/DGGEV/SGGEV/CGGEV test drivers compared eigenvalues from full (both L/R eigenvectors) and partial (eigenvalues only) computations using exact Fortran .NE. This is fragile because the QZ algorithm applies orthogonal transformations to a different scope of columns depending on the JOB parameter ('S' vs 'E'), causing 1-ULP differences in eigenvalues on some architectures.

Replace the binary ULPINV sentinel with a relative tolerance comparison: RESULT(5/6/7) now reports the maximum relative difference across ALPHA/ALPHAI/BETA, which is compared against the regular THRESH threshold. Fixes the spurious failure on Intel Xeon E5-2698 v4 and other platforms.

Closes #744

The ZGGEV/DGGEV/SGGEV/CGGEV test drivers compared eigenvalues
from full (both L/R eigenvectors) and partial (eigenvalues only)
computations using exact Fortran .NE. This is fragile because the
QZ algorithm applies orthogonal transformations to a different
scope of columns depending on the JOB parameter ('S' vs 'E'),
causing 1-ULP differences in eigenvalues on some architectures.

Replace the binary ULPINV sentinel with a relative tolerance
comparison: RESULT(5/6/7) now reports the maximum relative
difference across ALPHA/ALPHAI/BETA, which is compared against
the regular THRESH threshold.  Fixes the spurious failure on
Intel Xeon E5-2698 v4 and other platforms.

Closes Reference-LAPACK#744
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.

One failure in the tests for the generalized non-symmetric eigenvalue problem ZGGEV

2 participants