-
Notifications
You must be signed in to change notification settings - Fork 26
Fixed locate particles #342
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
Fixed locate particles #342
Conversation
… if it is set to 1.0
…nymore for sendtorank and recvfromrank
…pile_definitions().
namespace ippl { | ||
|
||
/*! | ||
* We need this struct since Kokkos parallel_scan only accects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo in "accepts"
locate_type particleRanks("particles' MPI ranks", localnum); | ||
|
||
/* The indices are the indices of the particles, | ||
* the boolean values describe wheather the particle has left the current rank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo in "whether"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I've fixed the typos.
This pull request consists of several related changes.
The most significant part is the changes to
locateParticles()
insrc/Particle/ParticleSpatialLayout.hpp
. This fixes Fix bug in modified locateParticles #273 and extends the original idea (veronica_report_v3_1.pdf) by making thempi::rma::Window
a memeber variable that is only initialized once per rank.The change in
alpine/LoadBalancer.hpp
allows disabling the loadbalancing completely by setting the threshold to1.0
and addition of a timer to track initializationstatic IpplTimings::TimerRef initializeTimer = IpplTimings::getTimer("initialize")