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

Change bad MP moves from error to warning #508

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Conversation

LSchwiebert
Copy link
Collaborator

This patch makes bad MP moves produce a warning rather than an error. It also tries to reduce the frequency of bad MP moves with Brownian Motion by starting with a smaller initial move amount.

Copy link
Collaborator

@GregorySchwing GregorySchwing left a comment

Choose a reason for hiding this comment

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

This won't warn the user in GPU versions of the code. I'd leave the kill variable and use it to print a warning outside of both the Translate CPP function/cuda kernel instead of exiting. Edited: I see what you are doing. Nevermind. I assume we are copying by t_k, r_k from the gpu somewhere.

@GregorySchwing GregorySchwing self-requested a review August 14, 2023 18:24
Copy link
Collaborator

@GregorySchwing GregorySchwing left a comment

Choose a reason for hiding this comment

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

LGTM

@jpotoff jpotoff merged commit e8341b2 into development Sep 6, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants