Back to Search
Start Over
Number Formats, Error Mitigation, and Scope for 16‐Bit Arithmetics in Weather and Climate Modeling Analyzed With a Shallow Water Model.
- Source :
- Journal of Advances in Modeling Earth Systems; Oct2020, Vol. 12 Issue 10, p1-17, 17p
- Publication Year :
- 2020
-
Abstract
- The need for high‐precision calculations with 64‐bit or 32‐bit floating‐point arithmetic for weather and climate models is questioned. Lower‐precision numbers can accelerate simulations and are increasingly supported by modern computing hardware. This paper investigates the potential of 16‐bit arithmetic when applied within a shallow water model that serves as a medium complexity weather or climate application. There are several 16‐bit number formats that can potentially be used (IEEE half precision, BFloat16, posits, integer, and fixed‐point). It is evident that a simple change to 16‐bit arithmetic will not be possible for complex weather and climate applications as it will degrade model results by intolerable rounding errors that cause a stalling of model dynamics or model instabilities. However, if the posit number format is used as an alternative to the standard floating‐point numbers, the model degradation can be significantly reduced. Furthermore, mitigation methods, such as rescaling, reordering, and mixed precision, are available to make model simulations resilient against a precision reduction. If mitigation methods are applied, 16‐bit floating‐point arithmetic can be used successfully within the shallow water model. The results show the potential of 16‐bit formats for at least parts of complex weather and climate models where rounding errors would be entirely masked by initial condition, model, or discretization error. Plain Language Summary: 64‐bit floating‐point numbers are the standard number format for scientific computing in fluid dynamics, which allows for very precise calculations with negligible rounding errors. The need for calculations at this precision level has been questioned for weather and climate models, as errors are caused primarily by insufficient observations or deficiencies of the models themselves. Reducing numerical precision can accelerate simulations and low‐precision number formats are increasingly supported by modern computers. This paper investigates the potential of low numerical precision with numbers that only use 16 bit of information, when applied within simulations of weather and climate. The different number formats are applied in a two‐dimensional oceanic or atmospheric circulation model. There are several 16‐bit number formats that can potentially be used, all of which have considerably larger rounding errors than the standard 64‐bit numbers. A simple change to 16 bits for all calculations will not be possible as it will degrade simulation results. However, if mitigation methods are applied, 16‐bit calculations can be used successfully within the applications of this paper. The results show the potential of 16‐bit number formats for at least parts of complex weather and climate models. Key Points: Posit numbers reduce rounding errors compared to floating‐point numbers, enabling reliable shallow water simulations with 16‐bit arithmeticErrors caused by 16‐bit arithmetic are reduced with critical computations in 32 bit, which can be implemented on present‐day hardware16‐ or even 8‐bit communication between processors introduces negligible errors, providing a perspective for reduced data communication [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 19422466
- Volume :
- 12
- Issue :
- 10
- Database :
- Complementary Index
- Journal :
- Journal of Advances in Modeling Earth Systems
- Publication Type :
- Academic Journal
- Accession number :
- 146649615
- Full Text :
- https://doi.org/10.1029/2020MS002246