GOTHIC: Gravitational oct-tree code accelerated by hierarchical time step controlling
arXiv:1610.07279 · doi:10.1016/j.newast.2016.10.007
Abstract
The tree method is a widely implemented algorithm for collisionless -body simulations in astrophysics well suited for GPU(s). Adopting hierarchical time stepping can accelerate -body simulations; however, it is infrequently implemented and its potential remains untested in GPU implementations. We have developed a Gravitational Oct-Tree code accelerated by HIerarchical time step Controlling named \texttt{GOTHIC}, which adopts both the tree method and the hierarchical time step. The code adopts some adaptive optimizations by monitoring the execution time of each function on-the-fly and minimizes the time-to-solution by balancing the measured time of multiple functions. Results of performance measurements with realistic particle distribution performed on NVIDIA Tesla M2090, K20X, and GeForce GTX TITAN X, which are representative GPUs of the Fermi, Kepler, and Maxwell generation of GPUs, show that the hierarchical time step achieves a speedup by a factor of around 3--5 times compared to the shared time step. The measured elapsed time per step of \texttt{GOTHIC} is 0.30~s or 0.44~s on GTX TITAN X when the particle distribution represents the Andromeda galaxy or the NFW sphere, respectively, with ~16,777,216 particles. The averaged performance of the code corresponds to 10--30\% of the theoretical single precision peak performance of the GPU.
22 pages, 10 figures, 4 tables, accepted for publication in New Astronomy
References in corpus (21)
- The Structure of Cold Dark Matter Halos
- The cosmological simulation code GADGET-2
- Simulations of X-ray Clusters
- GRAPE-6: The massively-parallel special-purpose computer for astrophysical particle simulation
- A sparse octree gravitational N-body code that runs entirely on the GPU processor
- Investigating the Andromeda Stream: I. Simple Analytic Bulge-Disk-Halo Model for M31
- Investigating the Andromeda Stream: III. A Young Shell System in M31
- 6th and 8th Order Hermite Integrator for N-body Simulations
- GreeM : Massively Parallel TreePM Code for Large Cosmological N-body Simulations
- GRAPE-6A: A single-card GRAPE-6 for parallel PC-GRAPE cluster system
- GRAPE-5: A Special-Purpose Computer for N-body Simulation
- 24.77 Pflops on a Gravitational Tree-Code to Simulate the Milky Way Galaxy with 18600 GPUs
- Particle-Particle Particle-Tree: A Direct-Tree Hybrid Scheme for Collisional N-Body Simulations
- Phantom-GRAPE: numerical software library to accelerate collisionless -body simulation with SIMD instruction set on x86 architecture
- VINE -- A numerical code for simulating astrophysical systems using particles II: Implementation and performance characteristics
- Implementation of a Parallel Tree Method on a GPU
- The Chamomile Scheme: An Optimized Algorithm for N-body simulations on Programmable Graphics Processing Units
- CSR5: An Efficient Storage Format for Cross-Platform Sparse Matrix-Vector Multiplication
- A Performance Comparison of Different Graphics Processing Units Running Direct N-Body Simulations
- Formation and Radiative Feedback of First Objects and First Galaxies
- High-Performance Small-Scale Simulation of Star Clusters Evolution on Cray XD1
Cited by in corpus (13)
- Cusp-to-core transition in low-mass dwarf galaxies induced by dynamical heating of cold dark matter by primordial black holes
- MAGI: many-component galaxy initialiser
- Fornax globular cluster distributions: implications for the cusp-core problem
- Embedding globular clusters in dark matter minihalos solves the cusp-core and timing problems in the Fornax dwarf galaxy
- Subhalo sinking and off-center massive black holes in dwarf galaxies
- Properties of globular clusters formed in dark matter mini-halos
- Absence of obvious tidal tails around the globular cluster NGC 6397
- The nature of the progenitor of the M31 North-western stream: globular clusters as milestones of its orbit
- Flattening of dark matter cusps during mergers: model of M31
- Direct N-body simulations of NGC 6397 and its tidal tails
- The origin of the black hole offset in M31
- MatRox: Modular approach for improving data locality in Hierarchical (Mat)rix App(Rox)imation
- Gravitational octree code performance evaluation on Volta GPU