Skip to content

Conversation

@krystophny
Copy link

Fixes #1186

Description

The default random seed in the DGS test generates a matrix for N=6, JTYPE=21 that causes DGGES to fail when compiled without FMA instructions. This happens because 1-2 ULP differences from FMA vs non-FMA rounding accumulate through repeated DROT calls in DHGEQZ, leading to different execution paths in eigenvalue reordering.

This fix uses a custom seed that avoids the specific ill-conditioned matrix while maintaining full test coverage (all 26 matrix types, all dimensions).

Checklist

  • If the PR solves a specific issue, it is set to be closed on merge.

The default seed generates a matrix for N=6, JTYPE=21 that causes
DGGES to fail (INFO=9) when compiled without FMA instructions.

Use a custom seed that avoids this specific ill-conditioned case
while maintaining full test coverage.
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.

DGS test in dgd.in fails without FMA instructions

1 participant