Skip to content

Print coordinates when NaN is detected - #4401

Merged
prckent merged 2 commits into
QMCPACK:developfrom
ye-luo:print-coords
Jan 19, 2023
Merged

Print coordinates when NaN is detected#4401
prckent merged 2 commits into
QMCPACK:developfrom
ye-luo:print-coords

Conversation

@ye-luo

@ye-luo ye-luo commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

Proposed changes

Rename expand ParticleSet::get to print and support particle count limit.
When NaN is detected, print all particle coordinates.
Also --verbosity=debug now prints all particle coordinates.

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

  • New feature

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

laptop

Checklist

  • Yes. This PR is up to date with current the current state of 'develop'

@prckent prckent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you been able to trigger this?

@ye-luo

ye-luo commented Jan 19, 2023

Copy link
Copy Markdown
Contributor Author

Have you been able to trigger this?

Only tested -"-vebose=debug". the print routine behaves as expected. Didn't have a way to directly trigger NaN.

@prckent

prckent commented Jan 19, 2023

Copy link
Copy Markdown
Contributor

Test this please

@prckent
prckent enabled auto-merge January 19, 2023 16:08
@prckent
prckent merged commit 4a1f311 into QMCPACK:develop Jan 19, 2023
@ye-luo
ye-luo deleted the print-coords branch January 19, 2023 19:26
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