SWIFT: Maintaining weak-scalability with a dynamic range of 10^4 in time-step size to harness extreme adaptivity

07/03/2018
by   Josh Borrow, et al.
0

Cosmological simulations require the use of a multiple time-stepping scheme. Without such a scheme, cosmological simulations would be impossible due to their high level of dynamic range; over eleven orders of magnitude in density. Such a large dynamic range leads to a range of over four orders of magnitude in time-step, which presents a significant load-balancing challenge. In this work, the extreme adaptivity that cosmological simulations present is tackled in three main ways through the use of the code SWIFT. First, an adaptive mesh is used to ensure that only the relevant particles are interacted in a given time-step. Second, task-based parallelism is used to ensure efficient load-balancing within a single node, using pthreads and SIMD vectorisation. Finally, a domain decomposition strategy is presented, using the graph domain decomposition library METIS, that bisects the work that must be performed by the simulation between nodes using MPI. These three strategies are shown to give SWIFT near-perfect weak-scaling characteristics, only losing 25 performance when scaling from 1 to 4096 cores on a representative problem, whilst being more than 30x faster than the de-facto standard Gadget-2 code.

READ FULL TEXT

page 4

page 6

research
02/14/2023

Critical time-step size analysis and mass scaling by ghost-penalty for immersogeometric explicit dynamics

In this article, we study the effect of small-cut elements on the critic...
research
08/02/2018

A Systematic Comparison of Dynamic Load Balancing Algorithms for Massively Parallel Rigid Particle Dynamics

As compute power increases with time, more involved and larger simulatio...
research
06/09/2021

LB4OMP: A Dynamic Load Balancing Library for Multithreaded Applications

Exascale computing systems will exhibit high degrees of hierarchical par...
research
11/15/2019

Two-level Dynamic Load Balancing for High Performance Scientific Applications

Scientific applications are often complex, irregular, and computationall...
research
09/22/2017

Experimenting with the p4est library for AMR simulations of two-phase flows

Many physical problems involve spatial and temporal inhomogeneities that...
research
02/16/2019

A Timer-Augmented Cost Function for Load Balanced DSMC

Due to a hard dependency between time steps, large-scale simulations of ...
research
05/18/2023

The Graph Database Interface: Scaling Online Transactional and Analytical Graph Workloads to Hundreds of Thousands of Cores

Graph databases (GDBs) are crucial in academic and industry applications...

Please sign up or login with your details

Forgot password? Click here to reset