Debug PySCF 2.13.0 (#191)#192
Merged
Merged
Conversation
Instead of raising an exception when "max_memory" gets incorrectly turned into "remaining memory", do a warning.
Since this is only ever passed with "remaining memory" rather than actual max memory, just add back the consumed memory that was just subtracted from it to get the "real" number.
Since there is an automatic pruning of linear dependencies now in core-module SCF.
The change from PySCF v2.12.0 is due to an irrelevant phase difference in the orbital basis; when the MO coefficients are replaced with the v2.12.0 values, the test passed. Therefore just update the references for the new phase.
Collaborator
Author
|
I convinced myself that the failing test in |
Collaborator
Author
|
#193 fixed the last issue I couldn’t account for, thanks @kylebystrom!! |
sunqm
approved these changes
May 14, 2026
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.
csf_fci(again)mo_coeffintrexiooccripbc/lnofor density matrix elements that differ between versions by scientifically irrelevant phasesThere are still two unit tests that I cannot make pass without changing either the tolerance of the check or the reference value itself, inpbc/lnoandpbc/pwscf. I wonder if anyone else has a commentary on those.