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

Optimisations for single task MPI #259

Merged

Conversation

conradtchan
Copy link
Collaborator

Type of PR:
modification to existing code

Description:
Optimisations to reduce unnecessary calls when compiling with MPI=yes but running with only 1 MPI task. This will allow the code to always be compiled with MPI enabled, even for pure OMP runs, with no loss of performance.

  • Don't loop over all particles when balancing
  • Don't build or walk global tree

Testing:
test suite

Did you run the bots? yes, pre-commit

@conradtchan conradtchan marked this pull request as ready for review March 10, 2022 05:04
@conradtchan conradtchan merged commit 13127df into danieljprice:master Mar 10, 2022
@conradtchan conradtchan deleted the single-mpi-optimisations branch March 10, 2022 06:21
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.

1 participant