Preprints
https://doi.org/10.5194/gmd-2024-68
https://doi.org/10.5194/gmd-2024-68
Submitted as: development and technical paper
 | 
16 Apr 2024
Submitted as: development and technical paper |  | 16 Apr 2024
Status: a revised version of this preprint was accepted for the journal GMD and is expected to appear here in due course.

Mixed-Precision Computing in the GRIST Dynamical Core for Weather and Climate Modelling

Siyuan Chen, Yi Zhang, Yiming Wang, Zhuang Liu, Xiaohan Li, and Wei Xue

Abstract. Atmosphere modelling applications become 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 GRIST dynamical core by adopting the mixed-precision computing strategy. Guided by a limited-degree of iterative development principle, we identify the 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. The computational cost is reduced without compromising the solver accuracy. The runtime of the model’s hydrostatic solver, non-hydrostatic solver, and tracer transport solver is reduced by 24 %, 27 %, and 44 %, respectively. A series of idealized tests, real-world weather and climate modelling tests, has been performed to assess the optimized model performance qualitatively and quantitatively. In particular, in the high-resolution weather forecast simulation, the model sensitivity to the precision level is mainly dominated by the small-scale features. While in long-term climate simulation, the precision-induced sensitivity can form at the large scale.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this preprint. The responsibility to include appropriate place names lies with the authors.
Siyuan Chen, Yi Zhang, Yiming Wang, Zhuang Liu, Xiaohan Li, and Wei Xue

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on gmd-2024-68', Luca Bertagna, 13 May 2024
    • AC1: 'Reply on RC1', Yi Zhang, 29 May 2024
  • RC2: 'Comment on gmd-2024-68', Filip Vana, 19 May 2024
    • AC2: 'Reply on RC2', Yi Zhang, 29 May 2024

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on gmd-2024-68', Luca Bertagna, 13 May 2024
    • AC1: 'Reply on RC1', Yi Zhang, 29 May 2024
  • RC2: 'Comment on gmd-2024-68', Filip Vana, 19 May 2024
    • AC2: 'Reply on RC2', Yi Zhang, 29 May 2024
Siyuan Chen, Yi Zhang, Yiming Wang, Zhuang Liu, Xiaohan Li, and Wei Xue
Siyuan Chen, Yi Zhang, Yiming Wang, Zhuang Liu, Xiaohan Li, and Wei Xue

Viewed

Total article views: 428 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
340 58 30 428 32 21
  • HTML: 340
  • PDF: 58
  • XML: 30
  • Total: 428
  • BibTeX: 32
  • EndNote: 21
Views and downloads (calculated since 16 Apr 2024)
Cumulative views and downloads (calculated since 16 Apr 2024)

Viewed (geographical distribution)

Total article views: 446 (including HTML, PDF, and XML) Thereof 446 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 26 Jul 2024
Download
Short summary
This study explores strategies and techniques for implementing mixed-precision code optimization within an atmosphere model dynamical core. The equation terms in the governing equations that are sensitive (insensitive) to the precision level have been identified. The performance of mixed-precision computing for weather and climate simulations was analyzed.