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

Fix parallel phsp source partition #1126

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

blakewalters
Copy link
Contributor

@blakewalters blakewalters commented May 9, 2024

This fix divides phase space sources used in parallel runs into npar*nchunk equal segments, where npar is the no. of parallel runs and nchunk is the no. of chunks (defaults to 10). Each chunk of the parallel run is then assigned its own segment of the phase space source outside of which it will not sample. This scheme, identical to that used in the Mortran codes, should ensure relatively even sampling of the phase space source over the entire parallel run. Note that any remaining histories after completion of npar*nchunk chunks are assigned to the last segment.

Fixes issue #1117

@blakewalters blakewalters requested a review from a team as a code owner May 9, 2024 16:27
@blakewalters blakewalters self-assigned this May 9, 2024
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.

None yet

1 participant