Enclave Tasking for Discontinuous Galerkin Methods on Dynamically Adaptive Meshes
arXiv:1806.07984 · doi:10.1137/19M1276194
Abstract
High-order Discontinuous Galerkin (DG) methods promise to be an excellent discretisation paradigm for partial differential equation solvers by combining high arithmetic intensity with localised data access. They also facilitate dynamic adaptivity without the need for conformal meshes. A parallel evaluation of DG's weak formulation within a mesh traversal is non-trivial, as dependency graphs over dynamically adaptive meshes change, as causal constraints along resolution transitions have to be preserved, and as data sends along MPI domain boundaries have to be triggered in the correct order. We propose to process mesh elements subject to constraints with high priority or, where needed, serially throughout a traversal. The remaining cells form enclaves and are spawned into a task system. This introduces concurrency, mixes memory-intensive DG integrations with compute-bound Riemann solves, and overlaps computation and communication. We discuss implications on MPI and show that MPI parallelisation improves by a factor of three through enclave tasking, while we obtain an additional factor of two from shared memory if grids are dynamically adaptive.
References in corpus (3)
- A Survey of High Level Frameworks in Block-Structured Adaptive Mesh Refinement Packages
- A simple diffuse interface approach on adaptive Cartesian grids for the linear elastic wave equations with complex topography
- Studies on the energy and deep memory behaviour of a cache-oblivious, task-based hyperbolic PDE solver
Cited by in corpus (10)
- ExaHyPE: An Engine for Parallel Dynamically Adaptive Simulations of Wave Problems
- Space-time adaptive ADER-DG finite element method with LST-DG predictor and a posteriori sub-cell WENO finite-volume limiting for simulation of non-stationary compressible multicomponent reactive flows
- Space-time adaptive ADER-DG finite element method with LST-DG predictor and a posteriori sub-cell ADER-WENO finite-volume limiting for multidimensional detonation waves simulation
- Lightweight Task Offloading Exploiting MPI Wait Times for Parallel Adaptive Mesh Refinement
- Spherical accretion of collisional gas in modified gravity I: self-similar solutions and a new cosmological hydrodynamical code
- Doubt and Redundancy Kill Soft Errors -- Towards Detection and Correction of Silent Data Corruption in Task-based Numerical Software
- TeaMPI -- Replication-based Resilience without the (Performance) Pain
- Task inefficiency patterns for a wave equation solver
- ExaGRyPE: Numerical General Relativity Solvers Based upon the Hyperbolic PDEs Solver Engine ExaHyPE
- Detrimental task execution patterns in mainstream OpenMP runtimes