Journal article icon

Journal article

Number formats, error mitigation, and scope for 16‐bit arithmetics in weather and climate modeling analyzed with a shallow water model

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.
Publication status:
Published
Peer review status:
Peer reviewed

Actions


Access Document


Files:
Publisher copy:
10.1029/2020ms002246

Authors


More by this author
Role:
Author
ORCID:
0000-0002-4610-3326
More by this author
Role:
Author
ORCID:
0000-0002-7121-2196


Publisher:
American Geophysical Union
Journal:
Journal of Advances in Modeling Earth Systems More from this journal
Volume:
12
Issue:
10
Article number:
e2020MS002246
Publication date:
2020-10-14
Acceptance date:
2020-09-03
DOI:
EISSN:
1942-2466
ISSN:
1942-2466


Language:
English
Keywords:
Pubs id:
1138343
Local pid:
pubs:1138343
Deposit date:
2020-10-20

Terms of use



Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP