Balancing the Load: A Voronoi Based Scheme for Parallel Computations
Abstract
One of the key issues when running a simulation on multiple CPUs is maintaining a proper load balance throughout the run and minimizing communications between CPUs. We propose a novel method of utilizing a Voronoi diagram to achieve a nearly perfect load balance without the need of any global redistributions of data. As a show case, we implement our method in RICH, a two-dimensional moving mesh hydrodynamical code, but it can be extended trivially to other codes in two or three dimensions. Our tests show that this method is indeed efficient and can be used in a large variety of existing hydrodynamical codes.
- Publication:
-
The Astrophysical Journal Supplement Series
- Pub Date:
- January 2015
- DOI:
- 10.1088/0067-0049/216/1/14
- arXiv:
- arXiv:1408.3196
- Bibcode:
- 2015ApJS..216...14S
- Keywords:
-
- hydrodynamics;
- methods: numerical;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Physics - Computational Physics;
- Physics - Fluid Dynamics
- E-Print:
- 5 pages, Acceptedto ApjS. Comments are welcomed