An efficient parallel algorithm for O(N^2) direct summation method and its variations on distributed-memory parallel machines
arXiv:astro-ph/0108412 · doi:10.1016/S1384-1076(02)00143-4
Abstract
We present a novel, highly efficient algorithm to parallelize O(N^2) direct summation method for N-body problems with individual timesteps on distributed-memory parallel machines such as Beowulf clusters. Previously known algorithms, in which all processors have complete copies of the N-body system, has the serious problem that the communication-computation ratio increases as we increase the number of processors, since the communication cost is independent of the number of processors. In the new algorithm, p processors are organized as a two-dimensional array. Each processor has particles, but the data are distributed in such a way that complete system is presented if we look at any row or column consisting of processors. In this algorithm, the communication cost scales as , while the calculation cost scales as . Thus, we can use a much larger number of processors without losing efficiency compared to what was practical with previously known algorithms.
21 pages, 11 figures, submitted to New Astronomy
Cited by in corpus (16)
- NBODY6++GPU: Ready for the gravitational million-body problem
- GRAPE-6: The massively-parallel special-purpose computer for astrophysical particle simulation
- Performance Analysis of Direct N-Body Algorithms on Special-Purpose Supercomputers
- A stochastic Monte Carlo approach to model real star cluster evolution, III. Direct integrations of three- and four-body interactions
- Systolic and Hyper-Systolic Algorithms for the Gravitational N-Body Problem, with an Application to Brownian Motion
- Graphic-Card Cluster for Astrophysics (GraCCA) -- Performance Tests
- Monte Carlo simulations of star clusters -- III. A million body star cluster
- EXP: N-body integration using basis function expansions
- Chaos in self-gravitating many-body systems: Lyapunov time dependence of and the influence of general relativity
- Performance analysis of direct N-body algorithms for astrophysical simulations on distributed systems
- The Adaptive TreePM: An Adaptive Resolution Code for Cosmological N-body Simulations
- A Modified TreePM Code
- Distributed N-body Simulation on the Grid Using Dedicated Hardware
- Performance analysis of parallel gravitational -body codes on large GPU cluster
- KRIOS: A new basis-expansion -body code for collisional stellar dynamics
- A Dynamic Era-Based Time-Symmetric Block Time-Step Algorithm with Parallel Implementations