Preprints
https://doi.org/10.5194/egusphere-2024-2986
https://doi.org/10.5194/egusphere-2024-2986
27 Sep 2024
 | 27 Sep 2024

Enhancing Single-Precision with Quasi Double-Precision: Achieving Double-Precision Accuracy in the Model for Prediction Across Scales-Atmosphere (MPAS-A) version 8.2.1

Jiayi Lai, Lanning Wang, Qizhong Wu, Yizhou Yang, and Fang Wang

Abstract. The development of numerical models are constrained by the limitations of high performance computing (HPC). Low precision computations can significantly reduce computational costs, but inevitably introduce rounding errors, which affect computational accuracy. Quasi double-precision algorithm can compensate for rounding errors by keeping corrections, thereby achieving the low numerical precision while maintaining result accuracy. This paper applies the algorithm to the Model for Prediction Across Scales-Atmosphere (MPAS-A) and evaluate its performance across four test cases. The results demonstrate that, after reducing numerical precision to single precision (from 64 bits to 32 bits), the application of quasi double-precision algorithm can achieve results comparable to double-precision computations. The round-off error of surface pressure is reduced by 68 %, 75 %, 97 %, 96 % in cases, the memory has been reduced by almost half, while the computation increases only 2 %, significantly reducing computational cost. The work substantiates both effectiveness and inexpensive computation in numerical models by using quasi double-precision algorithm.

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.
Jiayi Lai, Lanning Wang, Qizhong Wu, Yizhou Yang, and Fang Wang

Status: final response (author comments only)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2024-2986', Anonymous Referee #1, 04 Oct 2024
    • AC1: 'Reply on RC1', Jiayi Lai, 17 Oct 2024
      • RC2: 'Reply on AC1', Anonymous Referee #1, 18 Oct 2024
        • AC2: 'Reply on RC2', Jiayi Lai, 18 Oct 2024
  • RC3: 'Comment on egusphere-2024-2986', Anonymous Referee #2, 21 Oct 2024
    • AC3: 'Reply on RC3', Jiayi Lai, 31 Oct 2024
  • RC4: 'Comment on egusphere-2024-2986', Anonymous Referee #3, 30 Oct 2024
    • AC4: 'Reply on RC4', Jiayi Lai, 05 Nov 2024
  • RC5: 'Comment on egusphere-2024-2986', Anonymous Referee #4, 31 Oct 2024
    • AC5: 'Reply on RC5', Jiayi Lai, 05 Nov 2024
  • AC6: 'Comment on egusphere-2024-2986', Jiayi Lai, 10 Dec 2024
  • AC7: 'Comment on egusphere-2024-2986', Jiayi Lai, 10 Dec 2024
Jiayi Lai, Lanning Wang, Qizhong Wu, Yizhou Yang, and Fang Wang
Jiayi Lai, Lanning Wang, Qizhong Wu, Yizhou Yang, and Fang Wang

Viewed

Total article views: 585 (including HTML, PDF, and XML)
HTML PDF XML Total Supplement BibTeX EndNote
314 80 191 585 23 5 7
  • HTML: 314
  • PDF: 80
  • XML: 191
  • Total: 585
  • Supplement: 23
  • BibTeX: 5
  • EndNote: 7
Views and downloads (calculated since 27 Sep 2024)
Cumulative views and downloads (calculated since 27 Sep 2024)

Viewed (geographical distribution)

Total article views: 583 (including HTML, PDF, and XML) Thereof 583 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 13 Dec 2024
Download
Short summary
In this study, we applied the quasi double-precision algorithm to MPAS-A. Found that, the algorithm can effectively reduce the errors introduced by using low precision through the iterative process of time integration. The error of surface pressure of 4 cases are reduced by 68%, 75%, 97%, 96%. When applied the quasi double-precision algorithm in MPAS-A, we achieved to reduce all double precision to single precision, memory has been reduced by almost half, while the computation increases only 2%.