-
Notifications
You must be signed in to change notification settings - Fork 135
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
One Body Density Matrices batched driver integration #3622
Conversation
Some rebase damage. Will reopen when fixed. |
Actually found uniform_grid integrator path broken, now that is fixed as well. |
Very interested to see the python fix included. Possibly all the deterministic errors from nitrogen & sulfur are due to this. |
I think my fix only deals with detection of python packages. |
will use in SpinDensityNew soon
e1e96d4
to
e2f4d45
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't feel right that MCPopulation is used to pass WaveFunctionFactory but that is more of refactoring MCPopulation handling. Please fix the minor issues and then we can merge this PR.
src/Estimators/EstimatorInput.h
Outdated
#define QMCPLUSPLUS_ESIMATORINPUT_H | ||
|
||
#include <string> | ||
#include <any> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<any>
should be handled by InputSection.h. Not the case?
@@ -76,6 +77,7 @@ class MCPopulation | |||
TrialWaveFunction* trial_wf_; | |||
ParticleSet* elec_particle_set_; | |||
QMCHamiltonian* hamiltonian_; | |||
WaveFunctionFactory* wf_factory_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a FIXME comment that all the pointer should be related with reference.
I don't feel great about the wf_factory in MCPopulation either but that is the only object that seemed to have the correct lifetime. |
Start testing in-house |
Proposed changes
Integration of One Body Density Matrices with unified driver.
Fix of SpinDensityNew test so corner = 0,0,0 which is what was used for reference.
Fix so that the found python will actually be used to check for installed python packages.
in the context of execute_process it is quite likely that the
#!/usr/bin/env python3
in the test_import.py script will not use the intended and found python. This causes issues with conda and spack installed packages.Obviously find_package(Python3) must find your intended python.
Factor our handling of center and corner parameters in estimator input.
What type(s) of changes does this code introduce?
Does this introduce a breaking change?
What systems has this change been tested on?
Leconte
Checklist
Update the following with a yes where the items apply. If you're unsure about any of them, don't hesitate to ask. This is
simply a reminder of what we are going to look for before merging your code.