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: this preprint is currently under review for the journal GMD.

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.

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

Status: open (until 11 Jun 2024)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
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: 131 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
99 24 8 131 3 6
  • HTML: 99
  • PDF: 24
  • XML: 8
  • Total: 131
  • BibTeX: 3
  • EndNote: 6
Views and downloads (calculated since 16 Apr 2024)
Cumulative views and downloads (calculated since 16 Apr 2024)

Viewed (geographical distribution)

Total article views: 133 (including HTML, PDF, and XML) Thereof 133 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 30 Apr 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.