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 2 commits into
base: develop
Choose a base branch
from

Commits on Aug 9, 2024

  1. Fix phsp source partitionng for parallel runs

    This fix divides phase space sources used in parallel runs into
    npar*nchunk equal segments, where npar is the number of parallel runs
    and nchunk is the number 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 EGSnrc mortran codes, should ensure relatively even sampling of
    the phase space source over the entire parallel run.
    Blake Walters authored and ftessier committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    649df63 View commit details
    Browse the repository at this point in the history
  2. Handle histories left at end of parallel job

    Any remaining histories after completion of npar*nchunk simulations
    chunks reuse particles from the last segment of the phase space file.
    Blake Walters authored and ftessier committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    47edfab View commit details
    Browse the repository at this point in the history