asQ: parallel-in-time finite element simulations using ParaDiag for geoscientific models and beyond
Joshua Hope-Collins, Abdalaziz Hamdan, Werner Bauer, Lawrence Mitchell, Colin Cotter
TL;DR
This work introduces asQ, a Firedrake/PETSc-based library for prototyping ParaDiag-II parallel-in-time methods on finite element models, with emphasis on geoscientific applications. It explains the ParaDiag framework, including linear and nonlinear all-at-once systems, alpha-circulant preconditioning, and a simple performance model to predict speedups. Through a suite of linear and nonlinear test cases (advection, shallow water, and compressible Euler), the authors demonstrate strong time-scaling and substantial speedups in linear settings, while highlighting the limitations posed by averaging errors and complex-block conditioning in nonlinear problems. asQ provides a productive testbed for exploring ParaDiag strategies, enabling rapid testing of problem sets and solver configurations on large-scale HPC systems, and outlining avenues for extending time integrators and preconditioners to improve robustness and efficiency in realistic geophysical simulations.
Abstract
Modern high performance computers are massively parallel; for many PDE applications spatial parallelism saturates long before the computer's capability is reached. Parallel-in-time methods enable further speedup beyond spatial saturation by solving multiple timesteps simultaneously to expose additional parallelism. ParaDiag is a particular approach to parallel-in-time based on preconditioning the simultaneous timestep system with a perturbation that allows block diagonalisation via a Fourier transform in time. In this article, we introduce asQ, a new library for implementing ParaDiag parallel-in-time methods, with a focus on applications in the geosciences, especially weather and climate. asQ is built on Firedrake, a library for the automated solution of finite element models, and the PETSc library of scalable linear and nonlinear solvers. This enables asQ to build ParaDiag solvers for general finite element models and provide a range of solution strategies, making testing a wide array of problems straightforward. We use a quasi-Newton formulation that encompasses a range of ParaDiag methods, and expose building blocks for constructing more complex methods. The performance and flexibility of asQ is demonstrated on a hierarchy of linear and nonlinear atmospheric flow models. We show that ParaDiag can offer promising speedups and that asQ is a productive testbed for further developing these methods.
