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

Add MPI action prioritization capability and corresponding settings to lattice phyics #1237

Merged
merged 6 commits into from
Apr 11, 2023

Conversation

onufer
Copy link
Member

@onufer onufer commented Apr 7, 2023

Description


The motivation for this PR is that there is no way of prioritizing lattice physics jobs. Since some lattice physics jobs are 0D slowing down and run relatively quick (<5 minutes) and the 1D lattice physics calcs can take much longer (20-30 minutes if the number of isotopes is large), the load balancing could be pretty bad. The goal of the PR was to allow the user to flag some XS calcs to run "exclusive" on a single node. This means that one node would be pulled to the side and dedicated to that single, long-running MC2 job. The nodes that haven't been pulled aside for an "exclusive" job will then work through the rest of the queue one job at a time.

Checklist

  • This PR has only one purpose or idea.
  • Tests have been added/updated to verify that the new/changed code works.
  • The release notes (location doc/release/0.X.rst) are up-to-date with any bug fixes or new features.
  • The documentation is still up-to-date in the doc folder.
  • The dependencies are still up-to-date in setup.py.

@onufer onufer requested a review from mgjarrett April 7, 2023 22:43
Notes
-----
All exclusive actions will occur first regardless of the priority.
All non-exclusive actions with be after all exclusive actions regardless of the priority.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
All non-exclusive actions with be after all exclusive actions regardless of the priority.
All non-exclusive actions will be after all exclusive actions regardless of the priority.

@onufer onufer merged commit cb92c12 into main Apr 11, 2023
mgjarrett added a commit to mgjarrett/armi that referenced this pull request Apr 12, 2023
@mgjarrett mgjarrett mentioned this pull request Apr 12, 2023
7 tasks
@mgjarrett mgjarrett deleted the mpiActionPriority branch April 12, 2023 18:40
john-science pushed a commit that referenced this pull request Apr 18, 2023
PR #1237 had a bug uncovered by internal integration tests. Need to check that an mpiAction is deifned before querying runActionExclusive.

The unit test was updated to replicate the situation that caused the internal integration tests to fail.
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