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

Print coordinates when NaN is detected #4401

Merged
merged 2 commits into from
Jan 19, 2023
Merged

Conversation

ye-luo
Copy link
Contributor

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

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'

Copy link
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.

Have you been able to trigger this?

@ye-luo
Copy link
Contributor Author

ye-luo commented Jan 19, 2023

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
Copy link
Contributor

prckent commented Jan 19, 2023

Test this please

@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.

None yet

2 participants