Mixed-precision computing in the GRIST dynamical core for weather and climate modelling
Authors:
Open Access
- 27 August 2024
- journal article
- research article
- Published by Copernicus GmbH in Geoscientific Model Development
- Vol. 17 (16) , 6301-6318
Abstract
Atmosphere modelling applications are becoming increasingly memory-bound due to the inconsistent development rates between processor speeds and memory bandwidth. In this study, we mitigate memory bottlenecks and reduce the computational load of the Global–Regional Integrated Forecast System (GRIST) dynamical core by adopting a mixed-precision computing strategy. Guided by an application of the iterative development principle, we identify the coded equation terms that are precision insensitive and modify them from double to single precision. The results show that most precision-sensitive terms are predominantly linked to pressure gradient and gravity terms, while most precision-insensitive terms are advective terms. Without using more computing resources, computational time can be saved, and the physical performance of the model is largely kept. In the standard computational test, the reference runtime of the model's dry hydrostatic core, dry nonhydrostatic core, and the tracer transport module is reduced by 24 %, 27 %, and 44 %, respectively. A series of idealized tests, real-world weather and climate modelling tests, was performed to assess the optimized model performance qualitatively and quantitatively. In particular, in the long-term coarse-resolution climate simulation, the precision-induced sensitivity can manifest at the large scale, while in the kilometre-scale weather forecast simulation, the model's sensitivity to the precision level is mainly limited to small-scale features, and the wall-clock time is reduced by 25.5 % from the double- to mixed-precision full-model simulations.Keywords
All Related Versions
This publication has 54 references indexed in Scilit:
- An implementation of single‐precision fast spherical harmonic transform in Yin–He global spectral modelQuarterly Journal of the Royal Meteorological Society, 2021
- The ECMWF ensemble prediction system: Looking back (more than) 25 years and projecting forward 25 yearsQuarterly Journal of the Royal Meteorological Society, 2018
- Extending High‐Order Flux Operators on Spherical Icosahedral Grids and Their Applications in the Framework of a Shallow Water ModelJournal of Advances in Modeling Earth Systems, 2018
- On the use of scale‐dependent precision in Earth System modellingQuarterly Journal of the Royal Meteorological Society, 2017
- On the use of programmable hardware and reduced numerical precision in earth‐system modelingJournal of Advances in Modeling Earth Systems, 2015
- Idealized global nonhydrostatic atmospheric test cases on a reduced‐radius sphereJournal of Advances in Modeling Earth Systems, 2015
- The ICON (ICOsahedral Non‐hydrostatic) modelling framework of DWD and MPI‐M: Description of the non‐hydrostatic dynamical coreQuarterly Journal of the Royal Meteorological Society, 2014
- A proposed baroclinic wave test case for deep‐ and shallow‐atmosphere dynamical coresQuarterly Journal of the Royal Meteorological Society, 2013
- Dynamical core model intercomparison project: Tracer transport test casesQuarterly Journal of the Royal Meteorological Society, 2013
- A framework for testing global non‐hydrostatic modelsQuarterly Journal of the Royal Meteorological Society, 2009