Mixed‐Precision for Linear Solvers in Global Geophysical Flows
Authors:
Open Access
- 10 September 2022
- journal article
- research article
- Published by American Geophysical Union (AGU) in Journal of Advances in Modeling Earth Systems
- Vol. 14 (9)
Abstract
Semi‐implicit (SI) time‐stepping schemes for atmosphere and ocean models require elliptic solvers that work efficiently on modern supercomputers. This paper reports our study of the potential computational savings when using mixed precision arithmetic in the elliptic solvers. Precision levels as low as half (16 bits) are used and a detailed evaluation of the impact of reduced precision on the solver convergence and the solution quality is performed. This study is conducted in the context of a novel SI shallow‐water model on the sphere, purposely designed to mimic numerical intricacies of modern all‐scale weather and climate (W&C) models. The governing algorithm of the shallow‐water model is based on the non‐oscillatory MPDATA methods for geophysical flows, whereas the resulting elliptic problem employs a strongly preconditioned non‐symmetric Krylov‐subspace Generalized Conjugated‐Residual (GCR) solver, proven in advanced atmospheric applications. The classical longitude/latitude grid is deliberately chosen to retain the stiffness of global W&C models. The analysis of the precision reduction is done on a software level, using an emulator, whereas the performance is measured on actual reduced precision hardware. The reduced‐precision experiments are conducted for established dynamical‐core test‐cases, like the Rossby‐Haurwitz wavenumber 4 and a zonal orographic flow. The study shows that selected key components of the elliptic solver, most prominently the preconditioning and the application of the linear operator, can be performed at the level of half precision. For these components, the use of half precision is found to yield a speed‐up of a factor 4 compared to double precision for a wide range of problem sizes.Keywords
All Related Versions
Funding Information
- European Research Council (741112)
- Horizon 2020 Framework Programme (823988)
- National Science Foundation (NCAR)
This publication has 54 references indexed in Scilit:
- An edge-based unstructured mesh discretisation in geospherical frameworkJournal of Computational Physics, 2010
- Accelerating scientific computations with mixed precision algorithmsComputer Physics Communications, 2009
- Performance and accuracy of hardware-oriented native-, emulated- and mixed-precision solvers in FEM simulationsInternational Journal of Parallel, Emergent and Distributed Systems, 2007
- MPDATA: An edge-based unstructured-grid formulationJournal of Computational Physics, 2005
- A Class of Nonhydrostatic Global ModelsJournal of the Atmospheric Sciences, 2001
- Numerical simulations of Rossby-Haurwitz wavesTellus, 2000
- MPDATA: A Finite-Difference Solver for Geophysical FlowsJournal of Computational Physics, 1998
- On Forward-in-Time Differencing for Fluids: Stopping Criteria for Iterative Solutions of Anelastic Pressure EquationsMonthly Weather Review, 1997
- A standard test set for numerical approximations to the shallow water equations in spherical geometryJournal of Computational Physics, 1992
- Stability of the Rossby‐Haurwitz waveQuarterly Journal of the Royal Meteorological Society, 1973