skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Performance Analysis of Speculative Parallel Adaptive Local Timestepping for Conservation Laws

Journal Article · · ACM Transactions on Modeling and Computer Simulation
DOI:https://doi.org/10.1145/3545996· OSTI ID:1994322

Stable simulation of conservation laws, such as those used to model fluid dynamics and plasma physics applications, requires the satisfaction of the so-called Courant-Friedrichs-Lewy condition. By allowing regions of the mesh to advance with different timesteps that locally satisfy this stability constraint, significant work reduction can be attained when compared to a time integration scheme using a single timestep size. However, parallelizing this algorithm presents considerable difficulty. Since the stability condition depends on the state of the system, dependencies become dynamic and potentially non-local. In this article, we present an adaptive local timestepping algorithm using an optimistic (Timewarp-based) parallel discrete event simulation. We introduce waiting heuristics to limit misspeculation and a semi-static load balancing scheme to eliminate load imbalance as parts of the mesh require finer or coarser timesteps. Last, we outline an interface for separating the physics of the specific conservation law from the temporal integration allowing for productive adoption of our proposed algorithm. We present a misspeculation study for three conservation laws, demonstrating both the productivity of the local timestepping API, for which 74% of the lines of code are reused across different conservation laws, and the robustness of the waiting heuristics—at most 1.5% of element updates are rolled back. Our performance studies demonstrate up to a 2.8× speedup versus a baseline unoptimized local timestepping approach, a 4x improvement in per-node throughput compared to an MPI parallelization of synchronous timestepping, and scalability up to 3,072 cores on NERSC’s Cori Haswell partition.

Research Organization:
Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Sponsoring Organization:
USDOE Office of Science (SC); National Science Foundation (NSF)
Grant/Contract Number:
AC02-05CH11231; 1854986
OSTI ID:
1994322
Journal Information:
ACM Transactions on Modeling and Computer Simulation, Vol. 32, Issue 4; ISSN 1049-3301
Publisher:
Association for Computing MachineryCopyright Statement
Country of Publication:
United States
Language:
English

References (56)

Conservative explicit local time-stepping schemes for the shallow water equations journal April 2019
Efficient Inter-Process Synchronization for Parallel Discrete Event Simulation on Multicores conference June 2015
High resolution schemes for hyperbolic conservation laws journal March 1983
HYPERS: A unidimensional asynchronous framework for multiscale hybrid simulations journal February 2012
An arbitrary high-order Discontinuous Galerkin method for elastic waves on unstructured meshes - V. Local time stepping and p -adaptivity journal November 2007
Event-driven, hybrid particle-in-cell simulation: A new paradigm for multi-scale plasma modeling journal July 2006
High-order discontinuous Galerkin methods for coastal hydrodynamics applications journal October 2019
GASNet-EX: A High-Performance, Portable Communication Library for Exascale
  • Bonachea, Dan; Hargrove, Paul H.; Hall, Mary
  • Languages and Compilers for Parallel Computing: 31st International Workshop, LCPC 2018, Salt Lake City, UT, USA, October 9–11, 2018, Revised Selected Papers, p. 138-158 https://doi.org/10.1007/978-3-030-34627-0_11
book November 2019
High Resolution Schemes Using Flux Limiters for Hyperbolic Conservation Laws journal October 1984
Automated Simulation of Modelica Models with QSS Methods : The Discontinuous Case conference June 2011
Local time stepping for the shallow water equations in MPAS journal January 2022
CHARM++: a portable concurrent object oriented system based on C++
  • Kale, Laxmikant V.; Krishnan, Sanjeev
  • Proceedings of the eighth annual conference on Object-oriented programming systems, languages, and applications - OOPSLA '93 https://doi.org/10.1145/165854.165874
conference January 1993
Adaptive memory management and optimism control in time warp journal April 1997
Petascale Local Time Stepping for the ADER-DG Finite Element Method conference May 2016
An efficient local time-stepping scheme for solution of nonlinear conservation laws journal November 2010
Split Runge-Kutta method for simultaneous equations journal July 1960
The numerical simulation of two-dimensional fluid flow with strong shocks journal April 1984
Runge-Kutta Discontinuous Galerkin Methods for Convection-Dominated Problems journal September 2001
Numerical Methods for Conservation Laws book January 1992
Strong Stability-Preserving High-Order Time Discretization Methods journal January 2001
Multirate Timestepping Methods for Hyperbolic Conservation Laws journal September 2007
On process migration and load balancing in Time Warp journal March 1993
A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws journal April 1978
Semi-Static and Dynamic Load Balancing for Asynchronous Hurricane Storm Surge Simulations conference November 2018
Discontinuous Galerkin methods for modeling Hurricane storm surge journal September 2011
A Fast and Stable Well-Balanced Scheme with Hydrostatic Reconstruction for Shallow Water Flows journal January 2004
SUNDIALS: Suite of nonlinear and differential/algebraic equation solvers journal September 2005
A Fast and High Quality Multilevel Scheme for Partitioning Irregular Graphs journal January 1998
Adaptive Methods for Irregular Parallel Discrete Event Simulation Workloads conference May 2018
Task Bench: A Parameterized Benchmark for Evaluating Parallel Runtime Performance conference November 2020
Virtual time journal July 1985
Mobiliti: Scalable Transportation Simulation Using High-Performance Parallel Computing conference November 2018
Performance Comparison of HPX Versus Traditional Parallelization Strategies for the Discontinuous Galerkin Method journal May 2019
Parallel discrete event simulation journal October 1990
Third order asynchronous time integration for gas dynamics journal September 2021
Numerical approximations to nonlinear conservation laws with locally varying time and space grids journal January 1983
A time-accurate explicit multi-scale technique for gas dynamics journal September 2007
Exposing Inter-Process Information for Efficient Parallel Discrete Event Simulation of Spatial Stochastic Systems conference May 2017
The Performance Implication of Task Size for Applications on the HPX Runtime System conference September 2015
Speculative Parallel Execution for Local Timestepping conference May 2021
Speculative parallel simulation with an adaptive throttle scheme journal July 1997
Weighted Essentially Non-oscillatory Schemes journal November 1994
Fine-Grained Local Dynamic Load Balancing in PDES conference May 2018
Urgent Computing of Storm Surge for North Carolina's Coast journal January 2012
Flooding and Drying in Discontinuous Galerkin Finite-Element Discretizations of Shallow-Water Equations. Part 1: One Dimension journal June 2005
Extreme scale multi-physics simulations of the tsunamigenic 2004 sumatra megathrust earthquake
  • Uphoff, Carsten; Rettenberger, Sebastian; Bader, Michael
  • Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis https://doi.org/10.1145/3126908.3126948
conference November 2017
Asynchronous Variational Integrators journal April 2003
Multirate Runge–Kutta schemes for advection equations journal April 2009
Adaptive total variation stable local timestepping for conservation laws journal August 2022
Feature Article—Parallel Discrete Event Simulation: Will the Field Survive? journal August 1993
Water waves of finite amplitude on a sloping beach journal May 1958
A parallel local timestepping Runge–Kutta discontinuous Galerkin method with applications to coastal ocean modeling journal June 2013
ExaHyPE: An engine for parallel dynamically adaptive simulations of wave problems journal September 2020
High Resolution Schemes for Conservation Laws with Locally Varying Time Steps journal January 2001
Performance and Scalability Improvements for Discontinuous Galerkin Solutions to Conservation Laws on Unstructured Grids journal August 2016
Adaptive protocols for parallel discrete event simulation journal April 2000