VINE -- A numerical code for simulating astrophysical systems using particles II: Implementation and performance characteristics
arXiv:0802.4253 · doi:10.1088/0067-0049/184/2/326
Abstract
We continue our presentation of VINE. We begin with a description of relevant architectural properties of the serial and shared memory parallel computers on which VINE is intended to run, and describe their influences on the design of the code itself. We continue with a detailed description of a number of optimizations made to the layout of the particle data in memory and to our implementation of a binary tree used to access that data for use in gravitational force calculations and searches for SPH neighbor particles. We describe modifications to the code necessary to obtain forces efficiently from special purpose `GRAPE' hardware. We conclude with an extensive series of performance tests, which demonstrate that the code can be run efficiently and without modification in serial on small workstations or in parallel using OpenMP compiler directives on large scale, shared memory parallel machines. We analyze the effects of the code optimizations and estimate that they improve its overall performance by more than an order of magnitude over that obtained by many other tree codes. Scaled parallel performance of the gravity and SPH calculations, together the most costly components of most simulations, is nearly linear up to maximum machine sizes available to us (120 processors on an Origin~3000). At similar accuracy, performance of VINE, used in GRAPE-tree mode, is approximately a factor two slower than that of VINE, used in host-only mode. Optimizations of the GRAPE/host communications could improve the speed by as much as a factor of three, but have not yet been implemented in VINE.
Update to revised and newly resubmitted version of the paper. Code updated to version 1.0.7
References in corpus (16)
- The cosmological simulation code GADGET-2
- GADGET: A code for collisionless and gasdynamical cosmological simulations
- The Formation of a Star Cluster: Predicting the Properties of Stars and Brown Dwarfs
- Gasoline: An adaptable implementation of TreeSPH
- Statistical Properties of Collisionless Equal- and Unequal-Mass Merger Remnants of Disk Galaxies
- Properties of Early-Type, Dry Galaxy Mergers and the Origin of Massive Elliptical Galaxies
- Dry Mergers in GEMS: The Dynamical Evolution of Massive Early-Type Galaxies
- The influence of gas on the structure of merger remnants
- GRAPE-6: The massively-parallel special-purpose computer for astrophysical particle simulation
- A Parallel Tree Code
- Do dwarf galaxies form in tidal tails?
- GRAPE-6A: A single-card GRAPE-6 for parallel PC-GRAPE cluster system
- GRAPE-5: A Special-Purpose Computer for N-body Simulation
- GOTPM: A Parallel Hybrid Particle-Mesh Treecode
- VINE -- A numerical code for simulating astrophysical systems using particles I: Description of the physics and the numerical methods
- Performance and accuracy of a GRAPE-3 system for collisionless N-body simulations
Cited by in corpus (30)
- How do minor mergers promote inside-out growth of ellipticals, transforming the size, density profile and dark matter fraction?
- Driving Turbulence and Triggering Star Formation by Ionizing Radiation
- Relaxation and Stripping: The Evolution of Sizes, Dispersions and Dark Matter Fractions in Major and Minor Mergers of Elliptical Galaxies
- SPHGal: Smoothed Particle Hydrodynamics with improved accuracy for Galaxy simulations
- Specific Angular Momentum of Disc Merger Remnants and the -Parameter
- Detailed Numerical Simulations on the Formation of Pillars around HII-regions
- Algorithmic comparisons of decaying, isothermal, supersonic turbulence
- Tree-based solvers for adaptive mesh refinement code FLASH - I: gravity and optical depths
- Post-Newtonian dynamical modeling of supermassive black holes in galactic-scale simulations
- VINE -- A numerical code for simulating astrophysical systems using particles I: Description of the physics and the numerical methods
- Interaction of a giant planet in an inclined orbit with a circum-stellar disk
- Protostellar disks formed from rigidly rotating cores
- Protostellar discs formed from turbulent cores
- Magnetic field structure due to the global velocity field in spiral galaxies
- FAST: A Fully Asynchronous Split Time-Integrator for Self-Gravitating Fluid
- A fast recursive coordinate bisection tree for neighbour search and gravity
- Simulating magnetic fields in the Antennae galaxies
- Three-dimensional modeling of radiative disks in binaries
- Modelling Shear Flows with SPH and Grid Based Methods
- Flow-Driven Cloud Formation and Fragmentation: Results From Eulerian and Lagrangian Simulations
- Dynamics of Circumstellar Disks III: The case of GG Tau A
- Effects of stellar flybys on planetary systems: 3D modeling of the circumstellar disks damping effects
- GOTHIC: Gravitational oct-tree code accelerated by hierarchical time step controlling
- Decoupling of a giant planet from its disk in an inclined binary system
- Dynamical evolution of massive black holes in galactic-scale N-body simulations - introducing the regularized tree code "rVINE"
- A comparison of SPH artificial viscosities and their impact on the Keplerian disk
- Ionisation feedback in star formation simulations: The role of diffuse fields
- Consistent SPH Simulations of Protostellar Collapse and Fragmentation
- SPH Methods in the Modelling of Compact Objects
- Gravitational octree code performance evaluation on Volta GPU