ORIGINAL RESEARCH article

Front. Mar. Sci.

Sec. Physical Oceanography

Volume 12 - 2025 | doi: 10.3389/fmars.2025.1586015

This article is part of the Research TopicPrediction Models and Disaster Assessment of Ocean Waves, and the Coupling Effects of Ocean Waves in Various Ocean-Air ProcessesView all 11 articles

Precision-Tailored Ocean Wave Modeling: Enhancing Efficiency in the MASNUM wave model through Mixed-Precision Techniques

Provisionally accepted
Xin  LiuXin Liu1*Shuhui  GuanShuhui Guan2Qiqi  HanQiqi Han1Jie  ZhangJie Zhang1Zhanshuo  ZhangZhanshuo Zhang2Fuqing  XuFuqing Xu1
  • 1Qilu University of Technology, Jinan, Shandong Province, China
  • 2Jinan institute of supercomputing technology, Jinan, China

The final, formatted version of the article will be published soon.

To enhance the simulation performance of wave numerical models, high-precision ocean models are widely utilized. However, the low efficiency of high-precision numerical computation remains one of the key bottlenecks hindering the advancement of wave forecasting. To address this issue, this study introduces a mixed-precision framework based on variable-specific precision allocation, applied to the MArine Science and Numerical Modeling (MASNUM) ocean wave model, considering physical sensitivities. The results demonstrate that by strategically reducing the precision of non-critical variables to single-precision (float32) or half-precision (float16), the mixed-precision scheme significantly improves computational efficiency while maintaining the accuracy of the simulation results. Specifically, compared to the double-precision baseline, the mixed-precision approach results in minimal accuracy loss, with SMAPE values for significant wave height ranging between 0.12% and 0.43%, and RMSE ranging from 0.01 m to 0.02 m. In terms of computational performance, combined structural and precision optimizations yield a 2.97-3.39× speedup over double-precision. The findings robustly demonstrate the potential of mixed-precision computing for high-resolution, real-time ocean forecasting applications, providing valuable insights for balancing computational efficiency and simulation accuracy.

Keywords: Ocean wave model, MASNUM model, Mixed-precision, Simulation accuracy, Computational efficiency

Received: 01 Mar 2025; Accepted: 15 Apr 2025.

Copyright: © 2025 Liu, Guan, Han, Zhang, Zhang and Xu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Xin Liu, Qilu University of Technology, Jinan, Shandong Province, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.