arXiv ScienceSearch

arXiv · astro-ph/0108412

An efficient parallel algorithm for O(N^2) direct summation method and its variations on distributed-memory parallel machines

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 $\sqrt{p}\times \sqrt{p}$ two-dimensional array. Each processor has $N/\sqrt{p}$ 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 $\sqrt{p}$ processors. In this algorithm, the communication cost scales as $N /\sqrt{p}$, while the calculation cost scales as $N^2/p$. Thus, we can use a much larger number of processors without losing efficiency compared to what was practical with previously known algorithms.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Junichiro Makino. 2001-08-27. An efficient parallel algorithm for O(N^2) direct summation method and its variations on distributed-memory parallel machines. https://doi.org/10.1016/s1384-1076(02)00143-4

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

A Cyclical Baryonic Big Bang Explains the Universe

Our universe has multiple examples of unexplained gravitational losses in black holes and neutron stars. The smallest black holes of about 4 solar masses means the maximum baryon density ρ\approx 10^{17} grams/cm^3. Any collapse of the universe will stop with a scale factor \approx 10^{13} cm. and radiation energy \approx 10 GeV. Due to higher squeezed core baryons, the outer part of the mass transferred energy to the core and became dark matter. After contraction reduced particle motion and gravitation, the core radiation energy propelled pieces of the shell into the universe. Each of these masses captured hot core gases according to its gravitational size, forming proto-galaxies. A cold shell and a hot core explain the Planck spectrum and large galaxy formation in the early universe. Thus the universe was never radiation dominant.The universe will remain cyclical as any increase in entropy of matter will be crushed back to neutrons during the contraction phase.

astro-ph

A survey of debris trails from short-period comets

We observed 34 comets using the 24 micron camera on the Spitzer Space Telescope. Each image contains the nucleus and covers at least 10^6 km of each comet's orbit. Debris trails due to mm-sized or larger particles were found along the orbits of 27 comets; 4 comets had small-particle dust tails and a viewing geometry that made debris trails impossible to distinguish; and only 3 had no debris trail despite favorable observing conditions. There are now 30 Jupiter-family comets with known debris trails, of which 22 are reported in this paper for the first time. The detection rate is >80%, indicating that debris trails are a generic feature of short-period comets. By comparison to orbital calculations for particles of a range of sizes ejected over 2 yr prior to observation, we find that particles comprising 4 debris trails are typically mm-sized while the remainder of the debris trails require particles larger than this. The lower-limit masses of the debris trails are typically 10^11 g, and the median mass loss rate is 2 kg/s. The mass-loss rate in trail particles is comparable to that inferred from OH production rates and larger than that inferred from visible-light scattering in comae.

astro-ph

Deformation procedure for scalar fields in cosmology

This work offers an extension of the deformation procedure introduced in field theory to the case of standard cosmology in the presence of real scalar field in flat space-time. The procedure is shown to work for many models, which give rise to several different cosmic scenarios, evolving under the presence of first-order differential equations which solve the corresponding equations of motion very appropriately.

astro-ph