PhotoNs-GPU:A GPU accelerated cosmological simulation code
arXiv:2107.14008 · doi:10.1088/1674-4527/21/11/281
Abstract
We present a GPU-accelerated cosmological simulation code, PhotoNs-GPU, based on algorithm of Particle Mesh Fast Multipole Method (PM-FMM), and focus on the GPU utilization and optimization. A proper interpolated method for truncated gravity is introduced to speed up the special functions in kernels. We verify the GPU code in mixed precision and different levels of interpolated method on GPU. A run with single precision is roughly two times faster that double precision for current practical cosmological simulations. But it could induce a unbiased small noise in power spectrum. Comparing with the CPU version of PhotoNs and Gadget-2, the efficiency of new code is significantly improved. Activated all the optimizations on the memory access, kernel functions and concurrency management, the peak performance of our test runs achieves 48% of the theoretical speed and the average performance approaches to 35% on GPU.
arXiv commentAccepted for publication in RAA, 7 pages, 5 figures
References in corpus (22)
- The cosmological simulation code GADGET-2
- Efficient Computation of CMB anisotropies in closed FRW models
- The Aquarius Project: the subhalos of galactic halos
- Revising the Halofit Model for the Nonlinear Matter Power Spectrum
- Transients from Initial Conditions in Cosmological Simulations
- Scaling relations for galaxy clusters in the Millennium-XXL simulation
- Simulating cosmic structure formation with the GADGET-4 code
- The halo mass function from the dark ages through the present day
- The Uchuu Simulations: Data Release 1 and Dark Matter Halo Concentrations
- A Hierarchical O(N) Force Calculation Algorithm
- Universal structure of dark matter haloes over a mass range of 20 orders of magnitude
- Accurate halo-model matter power spectra with dark energy, massive neutrinos and modified gravitational forces
- HACC: Simulating Sky Surveys on State-of-the-Art Supercomputing Architectures
- A New Parallel N-body Gravity Solver: TPM
- GreeM : Massively Parallel TreePM Code for Large Cosmological N-body Simulations
- TreePM: A code for Cosmological N-Body Simulations
- GOTPM: A Parallel Hybrid Particle-Mesh Treecode
- Gravitational tree-code on graphics processing units: implementation in CUDA
- Differential Neutrino Condensation onto Cosmic Structure
- A Hybrid Fast Multipole Method for Cosmological N-body Simulations
- PHoToNs--A Parallel Heterogeneous & Threads oriented code for cosmological N-body simulation
- HIKER: a halo-finding method based on kernel-shift algorithm