Closed obackhouse closed 2 years ago
I've just run into this issue in some work I'm doing, and tracked it back to some behaviour in the pyscf MP2 implementation, specifically relating to the store_eris keyword. For some system mol and density-fitted restricted meanfield rdfmf you can run the following
from pyscf import mp my_mp2 = mp.MP2(rdfmf) print(my_mp2.ao2mo(rdfmf.mo_coeff, store_eris=False).ovov is None) print(my_mp2.ao2mo(rdfmf.mo_coeff, store_eris=True).ovov is None)
and get
True False
so it looks like we might need to ensure this keyword defaults to True instead of False when using this functionality. The pbc.mp implementation doesn't have an equivalent keyword to worry about, so this isn't an issue there.
I actually don't use PySCF's MP2 anymore at all in my dev branch - the MP2 equations are too simple to be worth the massive pain PySCF inflicts on you. I will try to have a merge asap
Aha that'd definitely fix it! Sounds brilliant- thanks very much!
Should be fixed in 047d49fd5027
MP2_BNO_Bath
does not support density-fitted molecules. Example:Which raises: