SWIFT: Using task-based parallelism, fully asynchronous communication, and graph partition-based domain decomposition for strong scaling on more than 100,000 cores
arXiv:1606.02738 · doi:10.1145/2929908.2929916
Abstract
We present a new open-source cosmological code, called SWIFT, designed to solve the equations of hydrodynamics using a particle-based approach (Smooth Particle Hydrodynamics) on hybrid shared/distributed-memory architectures. SWIFT was designed from the bottom up to provide excellent strong scaling on both commodity clusters (Tier-2 systems) and Top100-supercomputers (Tier-0 systems), without relying on architecture-specific features or specialized accelerator hardware. This performance is due to three main computational approaches: (1) Task-based parallelism for shared-memory parallelism, which provides fine-grained load balancing and thus strong scaling on large numbers of cores. (2) Graph-based domain decomposition, which uses the task graph to decompose the simulation domain such that the work, as opposed to just the data, as is the case with most partitioning schemes, is equally distributed across all nodes. (3) Fully dynamic and asynchronous communication, in which communication is modelled as just another task in the task-based scheme, sending data whenever it is ready and deferring on tasks that rely on data from other nodes until it arrives. In order to use these approaches, the code had to be re-written from scratch, and the algorithms therein adapted to the task-based paradigm. As a result, we can show upwards of 60% parallel efficiency for moderate-sized problems when increasing the number of cores 512-fold, on both x86-based and Power8-based architectures.
arXiv comment9 pages, 7 figures. Code, scripts and examples available at http://icc.dur.ac.uk/swift/
References in corpus (7)
- The cosmological simulation code GADGET-2
- The EAGLE project: Simulating the evolution and assembly of galaxies and their environments
- Smoothed Particle Hydrodynamics and Magnetohydrodynamics
- Gasoline: An adaptable implementation of TreeSPH
- SWIFT: Fast algorithms for multi-resolution SPH on multi-core architectures
- QuickSched: Task-based parallelism with dependencies and conflicts
- SWIFT: task-based hydrodynamics and gravity for cosmological simulations
Cited by in corpus (33)
- Simulating cosmic structure formation with the GADGET-4 code
- Grackle: a Chemistry and Cooling Library for Astrophysics
- The FLAMINGO project: cosmological hydrodynamical simulations for large-scale structure and galaxy cluster surveys
- SpECTRE: A Task-based Discontinuous Galerkin Code for Relativistic Astrophysics
- SWIFT: A modern highly-parallel gravity and smoothed particle hydrodynamics solver for astrophysical and cosmological applications
- Sphenix: Smoothed Particle Hydrodynamics for the next generation of galaxy formation simulations
- Higher-order initial conditions for mixed baryon-CDM simulations
- The importance of black hole repositioning for galaxy formation simulations
- Planetary Giant Impacts: Convergence of High-Resolution Simulations using Efficient Spherical Initial Conditions and SWIFT
- TangoSIDM: Tantalizing models of Self-Interacting Dark Matter
- Robust Field-level Likelihood-free Inference with Galaxies
- Atmospheric Erosion by Giant Impacts onto Terrestrial Planets
- A thermal-kinetic subgrid model for supernova feedback in simulations of galaxy formation
- Fast full N-body simulations of generic modified gravity: conformal coupling models
- The DESI -body Simulation Project I: Testing the Robustness of Simulations for the DESI Dark Time Survey
- Fast full -body simulations of generic modified gravity: derivative coupling models
- Smoothed Particle Radiation Hydrodynamics: Two-Moment method with Local Eddington Tensor Closure
- Influence of local structure on relic neutrino abundances and anisotropies
- The impact and response of minihalos and the inter-halo medium on cosmic reionization
- Modelling the evolution and influence of dust in cosmological simulations that include the cold phase of the interstellar medium
- Mesh-free hydrodynamics in PKDGRAV3 for galaxy formation simulations
- Sensitivity of non-radiative cloud-wind interactions to the hydrodynamics solver
- Projecting SPH Particles in Adaptive Environments
- REMIX SPH -- improving mixing in smoothed particle hydrodynamics simulations using a generalised, material-independent approach
- SWIFT: Maintaining weak-scalability with a dynamic range of in time-step size to harness extreme adaptivity
- Honing and proofing Astrophysical codes on the road to Exascale. Experiences from code modernization on many-core systems
- A Hybrid MPI+Threads Approach to Particle Group Finding Using Union-Find
- Continuous Simulation Data Stream: A dynamical timescale-dependent output scheme for simulations
- Task inefficiency patterns for a wave equation solver
- A momentum conserving -body scheme with individual timesteps
- A high-level characterisation and generalisation of communication-avoiding programming techniques
- Simulations of Fe entrained in ejecta from a near-Earth supernova: Effects of observer motion
- The interplay between AGN feedback and precipitation of the intracluster medium in simulations of galaxy groups and clusters