Skip to content
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

MOM Bugfix and Test #2270

Merged
merged 4 commits into from
Aug 12, 2021
Merged

MOM Bugfix and Test #2270

merged 4 commits into from
Aug 12, 2021

Conversation

JonathonMisiewicz
Copy link
Contributor

@JonathonMisiewicz JonathonMisiewicz commented Aug 10, 2021

Description

Closes #1692 and adds some of those examples as test cases. The heart of the PR is that MOM no longer sets the iteration number to 0, which would triggered logic resetting some wavefunction variables.

Todos

  • Fixes a bug where MOM could clear all electrons

Questions

  • The new tests take about 20 seconds. Do you want me to reduce the basis set size, to speed this up?

Checklist

  • Tests added for newly working features
  • scf tests pass

Status

  • Ready for review
  • Ready for merge

@JonathonMisiewicz JonathonMisiewicz added scf Involves general SCF: convergence algorithms, RHF/UHF/ROHF/CUHF... correctness-error For issues where Psi4 gives answers that are wrong. labels Aug 10, 2021
tests/mom-h2o-3/CMakeLists.txt Outdated Show resolved Hide resolved
tests/mom-h2o-4/CMakeLists.txt Outdated Show resolved Hide resolved
psi4/src/export_wavefunction.cc Outdated Show resolved Hide resolved
Copy link
Member

@loriab loriab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks! I think increasing the variety of basis sets hit is probably good, and 20 s is liveable.

@loriab loriab added this to the Psi4 1.5 milestone Aug 11, 2021
@@ -594,7 +593,6 @@ void HF::MOM_start() {
outfile->Printf("\n Total Energy Delta E Density RMS\n\n");
}
void HF::MOM() {
// Go MOM go!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Booo for removing a fun comment.

@hokru hokru merged commit 55a0bdb into psi4:master Aug 12, 2021
@JonathonMisiewicz JonathonMisiewicz deleted the scf_clean branch August 12, 2021 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correctness-error For issues where Psi4 gives answers that are wrong. scf Involves general SCF: convergence algorithms, RHF/UHF/ROHF/CUHF...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changes in MOM from PSI4 1.1 to 1.4a2.dev78
4 participants