Kd-tree Based N-Body Simulations with Volume-Mass Heuristic on the GPU

被引:8
|
作者
Kofler, Klaus [1 ]
Steinhauser, Dominik [2 ]
Cosenza, Biagio [1 ]
Grasso, Ivan [1 ]
Schindler, Sabine [2 ]
Fahringer, Thomas [1 ]
机构
[1] Univ Innsbruck, DPS, Inst Comp Sci, Innsbruck, Austria
[2] Univ Innsbruck, Inst Astro & Particle Phys, Innsbruck, Austria
关键词
N-body; GPGPU; Kd-tree; CODE;
D O I
10.1109/IPDPSW.2014.141
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
N-body simulations represent an important class of numerical simulations in order to study a wide range of physical phenomena for which researchers demand fast and accurate implementations. Due to the computational complexity, simple brute-force methods to solve the long-distance interaction between bodies can only be used for small-scale simulations. Smarter approaches utilize neighbor lists, tree methods or other hierarchical data structures to reduce the complexity of the force calculations. However, such data structures have complex building algorithms which hamper their parallelization for GPUs. In this paper, we introduce a novel method to effectively parallelize N-body simulations for GPU architectures. Our method is based on an efficient, three-phase, parallel Kd-tree building algorithm and a novel volume-mass heuristic to reduce the simulation time and increase accuracy. Experiments demonstrate that our approach is the fastest monopole implementation with an accuracy that is comparable with state of the art implementations (GADGET-2). In particular, we are able to reach a simulation speed of up to 3 Mparticles/s on a single GPU for the force calculation, while still having a relative force error below 0.4% for 99% of the particles. We also show competitive performance with existing GPU implementations, while our competitor shows worse accuracy behavior as well as a higher energy error during time integration.
引用
收藏
页码:1257 / 1266
页数:10
相关论文
共 50 条
  • [31] Testing the conditional mass function of dark matter haloes against numerical N-body simulations
    Tramonte, D.
    Rubino-Martin, J. A.
    Betancort-Rijo, J.
    Dalla Vecchia, C.
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2017, 467 (03) : 3424 - 3442
  • [32] Supermassive Black Hole Binaries in High Performance Massively Parallel Direct N-body Simulations on Large GPU Clusters
    Spurzem, R.
    Berczik, P.
    Zhong, S.
    Nitadori, K.
    Hamada, T.
    Berentzen, I.
    Veles, A.
    ADVANCES IN COMPUTATIONAL ASTROPHYSICS: METHODS, TOOLS AND OUTCOMES, 2012, 453 : 223 - +
  • [33] Studying the core-cusp problem in cold dark matter halos using N-body simulations on GPU clusters
    Ogiya, Go
    Mori, Masao
    Miki, Yohei
    Boku, Taisuke
    Nakasato, Naohito
    24TH IUPAP CONFERENCE ON COMPUTATIONAL PHYSICS (IUPAP-CCP 2012), 2013, 454
  • [34] Transients from initial conditions based on Lagrangian perturbation theory in N-body simulations
    Tatekawa, Takayuki
    Mizuno, Shuntaro
    JOURNAL OF COSMOLOGY AND ASTROPARTICLE PHYSICS, 2007, (12):
  • [35] A Study of Total Mass Biases in X-ray Clusters through N-Body/SPH simulations
    Valdarnini, R.
    Piffaretti, R.
    X-RAY ASTRONOMY-2009: PRESENT STATUS, MULTI-WAVELENGTH APPROACH AND FUTURE PERSPECTIVES, PROCEEDINGS, 2010, 1248 : 304 - +
  • [36] Investigating the retention of intermediate-mass black holes in star clusters using N-body simulations
    Konstantinidis, Symeon
    Amaro-Seoane, Pau
    Kokkotas, Kostas D.
    ASTRONOMY & ASTROPHYSICS, 2013, 557
  • [37] The origin and evolution of the mass-metallicity relationship for galaxies:: Results from cosmological N-body simulations
    Brooks, A. M.
    Governato, F.
    Booth, C. M.
    Willman, B.
    Gardner, J. P.
    Wadsley, J.
    Stinson, G.
    Quinn, T.
    ASTROPHYSICAL JOURNAL, 2007, 655 (01): : L17 - L20
  • [38] Direct N-body Simulations of Tidal Disruption Rate Evolution in Equal-mass Galaxy Mergers
    Li, Shuo
    Berczik, Peter
    Chen, Xian
    Liu, F. K.
    Spurzem, Rainer
    Qiu, Yu
    ASTROPHYSICAL JOURNAL, 2019, 883 (02):
  • [39] N-body simulations of globular clusters in tidal fields: Effects of intermediate-mass black holes
    Luetzgendorf, N.
    Baumgardt, H.
    Kruijssen, J. M. D.
    ASTRONOMY & ASTROPHYSICS, 2013, 558