Skip to content

Testing: initialize ISPEC=9 before running DMD tests#1228

Merged
langou merged 1 commit intoReference-LAPACK:masterfrom
ndingle-arm:dmd-patch
Apr 15, 2026
Merged

Testing: initialize ISPEC=9 before running DMD tests#1228
langou merged 1 commit intoReference-LAPACK:masterfrom
ndingle-arm:dmd-patch

Conversation

@ndingle-arm
Copy link
Copy Markdown
Contributor

The DMD test drivers use the testing ILAENV from TESTING/EIG, where ISPEC=9 returns IPARMS(9). The drivers never initialized that entry, so the xGESDD/xBDSDC divide-and-conquer cutoff came from undefined state.

This undefined test state can lead to invalid xLASD0 calls and a large number of false failures. In this patch we initialize XLAENV(9,25) in the s/c/d/z DMD test drivers so the tests start from a defined ILAENV configuration.

Description

Checklist

  • The documentation has been updated -- no docs update required
  • If the PR solves a specific issue, it is set to be closed on merge -- no matching issue

The DMD test drivers use the testing ILAENV from TESTING/EIG, where
ISPEC=9 returns IPARMS(9). The drivers never initialized that entry,
so the xGESDD/xBDSDC divide-and-conquer cutoff SMLSIZ came from
undefined state.

This undefined test state can lead to invalid xLASD0 calls and a large
number of false failures. In this patch we initialize XLAENV(9,25) in
the s/c/d/z DMD test drivers so the tests start from a defined ILAENV
configuration.
@langou langou merged commit eb4f2b1 into Reference-LAPACK:master Apr 15, 2026
12 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.

3 participants