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 feature: dynamic load balancing #141

Draft
wants to merge 18 commits into
base: develop
Choose a base branch
from
Draft

Conversation

IshaanDesai
Copy link
Member

@IshaanDesai IshaanDesai commented Jan 2, 2025

Most important points regarding the implementation:

  • When the load balancing is triggered, on each rank, the average active simulations per rank are computed (MPI allgather).
  • If a rank has lesser active simulations than the floor value of the global average, the rank needs to receive simulations to make up for the shortage.
  • If a rank has more active simulations than the ceiling value of the global average, the ranks needs to send the excess simulations away.

Checklist:

  • I made sure that the CI passed before I ask for a review.
  • I added a summary of the changes (compared to the last release) in the CHANGELOG.md.
  • If necessary, I made changes to the documentation and/or added new content.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

@IshaanDesai IshaanDesai added the new-feature Adding a new feature label Jan 2, 2025
@IshaanDesai IshaanDesai self-assigned this Jan 2, 2025
@IshaanDesai IshaanDesai linked an issue Jan 2, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature Adding a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The need for dynamic load balancing in global adaptivity
1 participant