Skip to content

Fix T-move in batched DMC driver.#4902

Merged
prckent merged 1 commit into
QMCPACK:developfrom
ye-luo:fix-Tmove
Jan 17, 2024
Merged

Fix T-move in batched DMC driver.#4902
prckent merged 1 commit into
QMCPACK:developfrom
ye-luo:fix-Tmove

Conversation

@ye-luo
Copy link
Copy Markdown
Contributor

@ye-luo ye-luo commented Jan 17, 2024

Proposed changes

T-move info was only set to all the existing walkers (both live and dead) at the beginning of the DMC driver. If branching creates new walkers, these walkers will be running as locality approximation. The fix is to set the handler before each DMC step. A better solution will be moving such meta data out of each walker and keeping them to the driver. This will be done once I get around tho restructure T-move related codes.

What type(s) of changes does this code introduce?

  • Bugfix

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

bora

Checklist

  • Yes. This PR is up to date with current the current state of 'develop'
  • Yes. Code added or changed in the PR has been clang-formatted

T-move info was only set to all the existing walkers (both live and dead) at the beginning of the DMC driver. If branching creates new walkers, these walkers will be running as locality approximation. The fix is to set the handler before each DMC step. A better solution will be moving such meta data out of each walker and keeping them to the driver. This will be done once I get around tho restructure T-move related codes.
@ye-luo
Copy link
Copy Markdown
Contributor Author

ye-luo commented Jan 17, 2024

Test this please

Copy link
Copy Markdown
Contributor

@prckent prckent 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 for tracking this down. Obviously some refactoring needed. I suspect that this will result in reduced variance in the production runs that otherwise appear healthy. We can talk about improved checks, testing, validation once we have "solved" the current instability issues.

@prckent prckent enabled auto-merge January 17, 2024 19:08
@prckent prckent merged commit fc64a42 into QMCPACK:develop Jan 17, 2024
@ye-luo ye-luo deleted the fix-Tmove branch January 22, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants