Proposal for badly failing cases#1094
Merged
Merged
Conversation
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 |
niklasschmitz
pushed a commit
that referenced
this pull request
Nov 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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