SearcharxivSearch

arXiv · astro-ph/0402443

Towards optimal parallel PM N-body codes: PMFAST

Abstract

We present a new parallel PM N-body code named PMFAST that is freely available to the public. PMFAST is based on a two-level mesh gravity solver where the gravitational forces are separated into long and short range components. The decomposition scheme minimizes communication costs and allows tolerance for slow networks. The code approaches optimality in several dimensions. The force computations are local and exploit highly optimized vendor FFT libraries. It features minimal memory overhead, with the particle positions and velocities being the main cost. The code features support for distributed and shared memory parallelization through the use of MPI and OpenMP, respectively. The current release version uses two grid levels on a slab decomposition, with periodic boundary conditions for cosmological applications. Open boundary conditions could be added with little computational overhead. We present timing information and results from a recent cosmological production run of the code using a 3712^3 mesh with 6.4 x 10^9 particles. PMFAST is cost-effective, memory-efficient, and is publicly available.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hugh Merz, Ue-Li Pen, Hy Trac. 2005-05-31. Towards optimal parallel PM N-body codes: PMFAST. https://doi.org/10.1016/j.newast.2005.02.001

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

KEEP EXPLORING

Related papers

Two 3-Branes in Randall-Sundrum Setup and Current Acceleration of the Universe

Five-dimensional spacetimes of two orbifold 3-branes are studied, by assuming that {\em the two 3-branes are spatially homogeneous, isotropic, and independent of time}, following the so-called "bulk-based" approach. The most general form of the metric is obtained, and the corresponding field equations are divided into three groups, one is valid on each of the two 3-branes, and the third is valid in the bulk. The Einstein tensor on the 3-branes is expressed in terms of the discontinuities of the first-order derivatives of the metric coefficients. Thus, once the metric is known in the bulk, the distribution of the Einstein tensor on the two 3-branes is uniquely determined. As applications, we consider two different cases, one is in which the bulk is locally $AdS_{5}$, and the other is where it is vacuum. In some cases, it is shown that the universe is first decelerating and then accelerating. The global structure of the bulk as well as the 3-branes is also studied, and found that in some cases the solutions may represent the collision of two orbifold 3-branes. The applications of the formulas to the studies of the cyclic universe and the cosmological constant problem are also pointed out.

astro-ph

A Revolution in Science: the Eclipse Expeditions of 1919

The first direct experimental test of Einstein's theory of general relativity involved a pair of expeditions to measure the bending of light at a total solar eclipse that took place one hundred years ago, on 29 May 1919. So famous is this experiment, and so dramatic was the impact on Einstein himself, that history tends not to recognise the controversy that surrounded the results at the time. In this article, I discuss the experiment in its scientific and historical background context and explain why it was, and is, such an important episode in the development of modern physics.

astro-ph

State Vector Determination By A Single Tracking Satellite

Using only a single tracking satellite capable of only range measurements to an orbiting object in an unknown Keplerian orbit, it is theoretically possible to calculate the orbit and a current state vector. In this paper we derive an algorithm that can perform this calculation.

astro-ph