Skip to content

On-the-fly load balancing #1269

Answered by erikvansebille
joaoluisro asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @joaoluisro, for initiating this discussion! It would be great if you could further explore on-the-fly load balancing; which is indeed something that has been on the Parcels development Wishlist for a while.

I think the simplest implementation of on-the-fly load balancing would be to move the code for the Kmeans-distribution into its own method (e.g. ParticleCollectionSOA.loadbalance()) and then calling that immediately after the code to write out particle locations in ParticleSet.execute(), with an if-statement to test if the particles is too unbalanced? To avoid running this test too often, you could also introduce a new balancedt-argument to pset.execute() that only does the tes…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@joaoluisro
Comment options

Answer selected by joaoluisro
Comment options

You must be logged in to vote
4 replies
@erikvansebille
Comment options

@joaoluisro
Comment options

@etodt
Comment options

@erikvansebille
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants