Implementation and performance of FDPS: A Framework Developing Parallel Particle Simulation Codes
arXiv:1601.03138 · doi:10.1093/pasj/psw053
Abstract
We present the basic idea, implementation, measured performance and performance model of FDPS (Framework for developing particle simulators). FDPS is an application-development framework which helps the researchers to develop particle-based simulation programs for large-scale distributed-memory parallel supercomputers. A particle-based simulation program for distributed-memory parallel computers needs to perform domain decomposition, redistribution of particles, and gathering of particle information for interaction calculation. Also, even if distributed-memory parallel computers are not used, in order to reduce the amount of computation, algorithms such as Barnes-Hut tree method should be used for long-range interactions. For short-range interactions, some methods to limit the calculation to neighbor particles are necessary. FDPS provides all of these necessary functions for efficient parallel execution of particle-based simulations as "templates", which are independent of the actual data structure of particles and the functional form of the interaction. By using FDPS, researchers can write their programs with the amount of work necessary to write a simple, sequential and unoptimized program of O(N^2) calculation cost, and yet the program, once compiled with FDPS, will run efficiently on large-scale parallel supercomputers. A simple gravitational N-body program can be written in around 120 lines. We report the actual performance of these programs and the performance model. The weak scaling performance is very good, and almost linear speedup was obtained for up to the full system of K computer. The minimum calculation time per timestep is in the range of 30 ms (N=10^7) to 300 ms (N=10^9). These are currently limited by the time for the calculation of the domain decomposition and communication necessary for the interaction calculation. We discuss how we can overcome these bottlenecks.
22 pages, 27 figures,accepted for publication in PASJ. The FDPS package is here https://github.com/fdps/fdps
References in corpus (1)
Cited by in corpus (58)
- PeTar: a high-performance N-body code for modeling massive collisional stellar systems
- Double-Detonation Models for Type Ia Supernovae: Trigger of Detonation in Companion White Dwarfs and Signatures of Companions' Stripped-off Materials
- OpenFPM: A scalable open framework for particle and particle-mesh codes on parallel computers
- 3D Morphology of Open Clusters in the Solar Neighborhood with Gaia EDR3 II: Hierarchical Star Formation Revealed by Spatial and Kinematic Substructures
- A scalable computational platform for particulate Stokes suspensions
- Fortran interface layer of the framework for developing particle simulator FDPS
- Three-Dimensional Simulation of Double-Detonations in the Double-Degenerate Model for Type Ia Supernovae and Interaction of Ejecta with a Surviving White Dwarf Companion
- SIRIUS Project. III. Star-by-star simulations of star cluster formation using a direct N-body integrator with stellar feedback
- Gravitational wave of intermediate-mass black holes in Population III star clusters
- Towards the cellular-scale simulation of motor-driven cytoskeletal assemblies
- Massive star cluster formation I. High star formation efficiency while resolving feedback of individual stars
- Imprint of anisotropic primordial non-Gaussianity on halo intrinsic alignments in simulations
- A Parameter-Masked Mock Data Challenge for Beyond-Two-Point Galaxy Clustering Statistics
- Accelerated FDPS --- Algorithms to Use Accelerators with FDPS
- The impact of primordial binary on the dynamical evolution of intermediate massive star clusters
- Toward Understanding the Origin of Asteroid Geometries: Variety in Shapes Produced by Equal-Mass Impacts
- Tidal Disruption of a White Dwarf by a Black Hole: The Diversity of Nucleosynthesis, Explosion Energy, and the Fate of Debris Streams
- Does Explosive Nuclear Burning occur in Tidal Disruption Events of White Dwarfs by Intermediate Mass Black Holes ?
- A tale of caution: the tails of NGC 752 are much longer than claimed
- Unconvergence of Very Large Scale GI Simulations
- The impact of massive stars and black holes on the fate of open star clusters and their tidal streams
- SIRIUS project II: a new tree-direct hybrid code for smoothed particle hydrodynamics/N-body simulations of star clusters
- Impact of initial mass functions on the dynamical channel of gravitational wave sources
- Simulating the Smallest Ring World of Chariklo
- SPH Simulations for Shape Deformation of Rubble-Pile Asteroids Through Spinup: The Challenge for Making Top-Shaped Asteroids Ryugu and Bennu
- Improved particle spray algorithm for modeling globular cluster streams
- The Exchange of Mass and Angular Momentum in the Impact Event of Ice Giant Planets: Implications for the origin of Uranus
- High-resolution hydrodynamic simulation of tidal detonation of a helium white dwarf by an intermediate mass black hole
- Merging Hierarchical Triple Black Hole Systems with Intermediate-mass Black Holes in Population III Star Clusters
- PENTACLE: Parallelized Particle-Particle Particle-Tree Code for Planet Formation
- Evolution of the Angular Momentum of Molecular Cloud Cores Formed from Filament Fragmentation
- Global N-Body Simulation of Galactic Spiral Arms
- Formation and evolution of binary black holes in -body simulations of star clusters with up to two million stars
- Friction and friction heat of micronscale iron
- Coarse-grained model for spring friction study of micron-scale iron by smoothed particle hydrodynamics
- SIRIUS Project. IV. The formation history of the Orion Nebula Cluster driven by clump mergers
- Giant Impact onto a Vesta-Like Asteroid and Formation of Mesosiderites through Mixing of Metallic Core and Surface Crust
- Particle-particle Particle-tree Code for Planetary System Formation with Individual Cut-off Method: GPLUM
- On the origin of the split main sequences of the young massive cluster NGC 1856
- Effect of Equation of State and Cutoff Density in Smoothed Particle Hydrodynamics Simulations of the Moon-Forming Giant Impact
- The Ultramarine Simulation: properties of dark matter haloes before redshift 5.5
- Frequency of the dark matter subhalo collisions and bifurcation sequence arising formation of dwarf galaxies
- Tidal double detonation: a new mechanism for a thermonuclear explosion of a white dwarf induced by a tidal disruption event
- Particle Number Dependence of The -Body Simulations of Moon Formation
- Orbital evolution of Saturn's satellites due to the interaction between the moons and massive Saturn's rings
- N-body Simulations of Ring Formation Process around the Dwarf Planet Haumea
- Can the Uranian Satellites Form from a Debris Disk Generated by a Giant Impact?
- Tidal disruption of stellar clusters and their remnants' spatial distribution near the galactic center
- Investigating the UV-excess in star clusters with -body simulations: predictions for future CSST observations
- Friction of the micron-scale silica under various behaviors of the shape and the orientation of the coarse-grained particle in adaptive smoothed particle hydrodynamics
- Stellar Mass Segregation in Dark Matter Halos
- Dataflow programming for the analysis of molecular dynamics with AViS, an analysis and visualization software application
- Mock Observations of Multiple Stellar Populations in Tidal Streams of Palomar 5 for the Chinese Space Station Survey Telescope
- A Mean-Field Approach to Simulating the Merging of Collisionless Stellar Systems Using a Particle-Based Method
- Mass and Spin Growth of Very Massive Stars in Star Clusters Potentially Associated with Little Red Dots
- Hermite integrator for high-order mesh-free schemes
- SCF-FDPS: A Fast -body Code for Simulating Disk-halo Systems
- Special Relativistic Smoothed Particle Hydrodynamics Based on Riemann Solver