Skip to content

Scale FAIL with SPDIAM in xLARRF. Fixes #995.#1309

Merged
langou merged 1 commit into
Reference-LAPACK:masterfrom
amilsted:issue_995
Jun 15, 2026
Merged

Scale FAIL with SPDIAM in xLARRF. Fixes #995.#1309
langou merged 1 commit into
Reference-LAPACK:masterfrom
amilsted:issue_995

Conversation

@amilsted

Copy link
Copy Markdown

Description

As discussed in #995, a failure to correctly compare the relative error scale FAIL and the absolute SMLGROWTH led to unexpected failure of xLARFF when the input is scaled well away from 1. This led to eigensolver routines such as ZHEEVR running up to 20x slower when given input scaled away from 1 by a large factor (e.g. 1e12). Example matrices can be generate with the following code: https://gist.github.com/amilsted/24e77bc77a39dbbcabf718a3ce5b5fe3

This fix eliminates the eigensolve slowdown due to xLARFF failure in the tested cases.

Closes #995.

@langou langou merged commit 122f892 into Reference-LAPACK:master Jun 15, 2026
14 checks passed
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.

Highly scale-dependent efficiency of ZHEEVR and DSYEVR

3 participants