Performance and accuracy of a GRAPE-3 system for collisionless N-body simulations

被引:47
|
作者
Athanassoula, E
Bosma, A
Lambert, JC
Makino, J
机构
[1] Observ Marseille, F-13248 Marseille 4, France
[2] Univ Tokyo, Coll Arts & Sci, Dept Informat Sci & Graph, Tokyo 153, Japan
关键词
methods; numerical; galaxies; kinematics and dynamics; structure;
D O I
10.1046/j.1365-8711.1998.01102.x
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
The performance and accuracy of a GRAPE-3 system for collisionless N-body simulations is discussed. After an initial description of the hardware configurations available to us at Marseille, and the usefulness of on-line analysis, we concentrate on the actual performance and accuracy of direct summation and of tree code software. For the former we discuss the sources of round-off errors. The standard Barnes-Hut tree code cannot be used as such on a GRAPE-3 system. Instead particles are divided into blocks and the tree traversal is performed for the whole block, instead of for each particle in the block separately. The forces are then calculated by direct summation over the whole interaction list. The performance of the tree code depends on the number of particles in the block, the optimum number depending on the speed of the front end and the number of boards. We find that the code scales as O(N) and explain this behaviour. The time per step decreases as the tolerance increases, but the dependence is much weaker than for the standard tree code. Finally, we find that, contrary to what is expected for the standard version, the speed of our tree code increases with the clustering of the configuration. We discuss the effect of the front end and compare the performance of direct summation and of tree code on GRAPE-3 with that of other software on general purpose computers. The accuracy of both direct summation and the tree code is discussed as a function of number of particles and softening. For this we consider the accuracy of the force calculation as well as the energy conservation during a simulation. Because of the increased role of the direct summation in the force calculation, our tree code is much more accurate than the standard one. Finally, we follow the evolution of an isolated barred galaxy using different hardware and software in order to assess the reliability and reproducibility of our results. We find excellent agreement between the pattern speed of the bar in direct summation simulations run on the high-precision GRAPE-4 machines and that in direct summation simulations run on our GRAPE-3 system. The agreement with the tree code is also very good provided the tolerance values are smaller than about 1.0. We conclude that GRAPE-3 systems are well suited for collisionless simulations and in particular for those of galaxies. This is due to their good accuracy and their high speed, which allows the use of a large number of particles.
引用
收藏
页码:369 / 380
页数:12
相关论文
共 50 条
  • [21] Requirements of a Package for N-Body Simulations of the Solar System
    P.W. Sharp
    Numerical Algorithms, 2002, 31 : 271 - 279
  • [22] Requirements of a package for N-body simulations of the Solar System
    Sharp, PW
    NUMERICAL ALGORITHMS, 2002, 31 (1-4) : 271 - 279
  • [23] Neutrinos in N-body simulations
    Nascimento, Caio Bastos de Senna
    Loverde, Marilena
    PHYSICAL REVIEW D, 2021, 104 (04)
  • [24] N-body simulations of γ gravity
    dos Santos, Marcelo Vargas
    Winther, Hans A.
    Mota, David F.
    Waga, Ioav
    ASTRONOMY & ASTROPHYSICS, 2016, 587
  • [25] A Fast Implementation and Performance Analysis of Collisionless N-body Code Based on GPGPU
    Miki, Yohei
    Takahashi, Daisuke
    Mori, Masao
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2012, 2012, 9 : 96 - 105
  • [26] Direct N-body simulations
    Spurzem, R
    JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 1999, 109 (1-2) : 407 - 432
  • [27] Cosmological N-body simulations
    Bagla, JS
    Padmanabhan, T
    PRAMANA-JOURNAL OF PHYSICS, 1997, 49 (02): : 161 - 192
  • [28] Direct N-body simulations
    Spurzem, Rainer
    Journal of Computational and Applied Mathematics, 1999, 109 (01): : 407 - 432
  • [29] Special-purpose computer for gravitational N-body system: Grape
    Makino, J
    NUMERICAL ASTROPHYSICS, 1999, 240 : 407 - 414
  • [30] N-body simulation on GRAPE-6
    Makino, J
    STELLAR COLLISIONS, MERGERS, AND THEIR CONSEQUENCES, 2002, 263 : 389 - 404