-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCF Bug #84
Comments
I don't know if this is a bug or a feature. I've run the test and obtained a similar result. Occupied Eigenvectors for: E+A Depending on the guess, it can converge to either solution. The guess from the HCORE procedure is symmetric, and it seems that breaking this symmetry is not easy. When it reads the converged orbital, it does a two-step SCF, in which it updates the orbitals a little bit. Around the trial 30, it introduces enough asymmetry, probably from round-off errors, to slightly shift the energy, although it is still within the convergence threshold. At trial 40, it converges to the lower energy asymmetric solution, as observed in this sample from the read=true log: index energy At this point, I think a quick solution is to provide ,vec files with the asymmetric guess. |
It's probably an "unexpected feature" The asymmetric guess should get the correct solution. By the way, I fixed the density mixed guess in a previous commit. However, I'm a bit surprised that an asymmetric guess was necessary for those distances. This is what I got when I was doing the dipole test for the same system under an external electric field Here the dipole changes even after the first restart, although the behaviour in the energy is the same as the system without the field. Which is a bit weird because it's getting the same energy with different MO |
Note to myself @jacharrym Reading the HF orbitals is changing the LUMO coefficients (maybe some kind of rotation?) |
I found that the SCF is failing to get the correct minima for PsH_2. However, Lowdin is able to get a lower energy after restarting the calculation multiple times.
This is the input PsH2.test.lowdin
I ran that input 100 times restarting from scratch and then 100 times more restarting from a previous calculation.
These are the results for Total HF energy vs step ID using openLowdin with branch TCP, commit eaaface
However, this is not new... with lowdin2 I got the same but at a different number of restarts
I attached the input and scripts here test-scf.zip
I found the problem because I was creating a test for dipole moment under an external electric field. The effect is the same but the dipole changes are even larger
The text was updated successfully, but these errors were encountered: