Update to SAD routines and data#535
Open
susilehtola wants to merge 8 commits intoMRChemSoft:masterfrom
Open
Conversation
…ing BSE functionality, and use fractionally-occupied spin-restricted DFT instead of symmetry-broken atomic UHF to determine SAD basis.
Contributor
Author
|
so looks like the test failures are due to using too tight test tolerances compared to the actual precision |
Contributor
|
A bit too many failed tests for now. I have merged the fix to run tests in parallel. This should cure at least one problem. |
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.
Currently, the SAD guesses in MRChem have been generated using single-determinant HF on atoms. This easily leads to symmetry breaking, and therefore unpredictable guess performance. However, PySCF contains an implementation of fractionally-occupied spin-restricted DFT, which can be used to determine good symmetric atomic densities.
I have also refactored the Python routine in tools/sad.py to remove the needless dependency on Mendeleev (similar functionality is already present in the BSE), switched to full decontraction of the basis, and updated the basis set from the 3-21G basis to the modular AHGBS-7 basis set, which is larger and better converged. If you disagree with that change, I can also revert the basis to 3-21G, but still think it can be (i) decontracted and (ii) updated to a symmetric density.