Skip to content

Proposal for badly failing cases#1094

Merged
mfherbst merged 2 commits into
masterfrom
badly-failing-cases
May 15, 2025
Merged

Proposal for badly failing cases#1094
mfherbst merged 2 commits into
masterfrom
badly-failing-cases

Conversation

@mfherbst

@mfherbst mfherbst commented May 14, 2025

Copy link
Copy Markdown
Member

I know these failures should not happen (as the error message says 😄), but they do ... and unfortunately often in longer-running workflows where it's not super easy to figure out why and further it's super annoying that the entire computation crashes because of this.

Here is one proposal to deal with it ... namely just fall back to an expensive, but hopefully accurate orthogonalisation method. One could also implement throwing some special exception, which can then be handled higher up (e.g. by perhaps aborting the LOBPCG at the current state and flagging non-convergence). Not sure, what is better.

CC @antoine-levitt

@antoine-levitt

Copy link
Copy Markdown
Member

Sure, that makes a lot of sense. My guess is if that routine is failing some other part will fail further down the line, so maybe always print the warning, but I agree it's better to keep going

@mfherbst mfherbst enabled auto-merge (squash) May 15, 2025 07:25
@mfherbst mfherbst merged commit 3c34d38 into master May 15, 2025
5 of 8 checks passed
@mfherbst mfherbst deleted the badly-failing-cases branch May 15, 2025 08:35
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.

2 participants