Swarm-NG: a CUDA Library for Parallel n-body Integrations with focus on Simulations of Planetary Systems
Preprint
Abstract
We present Swarm-NG, a C++ library for the efficient direct integration of many n-body systems using highly-parallel Graphics Processing Unit (GPU), such as NVIDIA's Tesla T10 and M2070 GPUs. While previous studies have demonstrated the benefit of GPUs for n-body simulations with thousands to millions of bodies, Swarm-NG focuses on many few-body systems, e.g., thousands of systems with 3...15 bodies each, as is typical for the study of planetary systems. Swarm-NG parallelizes the simulation, including both the numerical integration of the equations of motion and the evaluation of forces using NVIDIA's "Compute Unified Device Architecture" (CUDA) on the GPU. Swarm-NG includes optimized implementations of 4th order time-symmetrized Hermite integration and mixed variable symplectic integration, as well as several sample codes for other algorithms to illustrate how non-CUDA-savvy users may themselves introduce customized integrators into the Swarm-NG framework. To optimize performance, we analyze the effect of GPU-specific parameters on performance under double precision. Applications of Swarm-NG include studying the late stages of planet formation, testing the stability of planetary systems and evaluating the goodness-of-fit between many planetary system models and observations of extrasolar planet host stars (e.g., radial velocity, astrometry, transit timing). While Swarm-NG focuses on the parallel integration of many planetary systems,the underlying integrators could be applied to a wide variety of problems that require repeatedly integrating a set of ordinary differential equations many times using different initial conditions and/or parameter values.Keywords
All Related Versions
- Version 1, 2012-08-06, ArXiv
- Version 2, 2012-09-25, ArXiv
- Published version: New Astronomy, 23-24, 6.
This publication has 22 references indexed in Scilit:
- Odeint – Solving Ordinary Differential Equations in C++AIP Conference Proceedings, 2011
- NBSymple, a double parallel, symplectic N-body code running on graphic processing unitsNew Astronomy, 2011
- MYRIAD: a newN-body code for simulations of star clustersAstronomy & Astrophysics, 2010
- SAPPORO: A way to turn your graphics cards into a GRAPE-6New Astronomy, 2009
- Parallel algorithm for solving Kepler’s equation on Graphics Processing Units: Application to analysis of Doppler exoplanet searchesNew Astronomy, 2009
- High performance direct gravitational N-body simulations on graphics processing units II: An implementation in CUDANew Astronomy, 2008
- High-performance direct gravitational N-body simulations on graphics processing unitsNew Astronomy, 2007
- A Markov Chain Monte Carlo version of the genetic algorithm Differential Evolution: easy Bayesian computing for real parameter spacesStatistics and Computing, 2006
- Solar System Dynamics2000
- On a time-symmetric Hermite integrator for planetary N-body simulationMonthly Notices of the Royal Astronomical Society, 1998