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 条
  • [1] Efficient GPU Tree Walks for Effective Distributed N-Body Simulations
    Liu, Jianqiao
    Robson, Michael
    Quinn, Thomas
    Kulkarni, Milind
    INTERNATIONAL CONFERENCE ON SUPERCOMPUTING (ICS 2019), 2019, : 24 - 34
  • [2] Parallel tree algorithms for N-body simulations
    Antonuccio-Delogu, V
    Becciani, U
    Gambera, M
    Pagliaro, A
    PARALLEL COMPUTATION, 1999, 1557 : 579 - 580
  • [3] THE GENGA CODE: GRAVITATIONAL ENCOUNTERS IN N-BODY SIMULATIONS WITH GPU ACCELERATION
    Grimm, Simon L.
    Stadel, Joachim G.
    ASTROPHYSICAL JOURNAL, 2014, 796 (01):
  • [4] Extending the halo mass resolution of N-body simulations
    Angulo, Raul E.
    Baugh, Carlton M.
    Frenk, Carlos S.
    Lacey, Cedric G.
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2014, 442 (04) : 3256 - 3265
  • [5] Hierarchical tree algorithm for collisional N-body simulations on GRAPE
    Fukushige, Toshiyuki
    Kawai, Atsushi
    PUBLICATIONS OF THE ASTRONOMICAL SOCIETY OF JAPAN, 2016, 68 (03)
  • [6] An integrated procedure for tree N-body simulations: FLY and AstroMD
    Becciani, U
    Antonuccio-Delogu, V
    Buonomo, F
    Gheller, G
    ASTRONOMICAL DATA ANALYSIS SOFTWARE AND SYSTEMS X, 2001, 238 : 503 - 506
  • [7] StePS: A multi-GPU cosmological N-body Code for compactified simulations
    Racz, G.
    Szapudi, I
    Dobos, L.
    Csabai, I
    Szalay, A. S.
    ASTRONOMY AND COMPUTING, 2019, 28
  • [8] Dual tree traversal on integrated GPUs for astrophysical N-body simulations
    Fortin, Pierre
    Touche, Maxime
    INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS, 2019, 33 (05): : 960 - 972
  • [9] FLY. A parallel tree N-body code for cosmological simulations
    Antonuccio-Delogu, V
    Becciani, U
    Ferro, D
    COMPUTER PHYSICS COMMUNICATIONS, 2003, 155 (02) : 159 - 179
  • [10] Improving the accuracy of halo mass based statistics for fast approximate N-body simulations
    Wu, Yiheng
    Guo, Hong
    Springel, Volker
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2024, 531 (04) : 4944 - 4953