Number Formats, Error Mitigation, and Scope for 16-Bit Arithmetics in Weather and Climate Modeling Analyzed With a Shallow Water Model

被引:24
作者
Klower, M. [1 ]
Duben, P. D. [2 ]
Palmer, T. N. [1 ]
机构
[1] Univ Oxford, Atmospher Ocean & Planetary Phys, Oxford, England
[2] European Ctr Medium Range Weather Forecasts, Reading, Berks, England
基金
欧洲研究理事会;
关键词
Reduced precision; 16‐ bit arithmetic; climate models; rounding error; floating‐ point numbers; posit numbers; PRECISION;
D O I
10.1029/2020MS002246
中图分类号
P4 [大气科学(气象学)];
学科分类号
0706 ; 070601 ;
摘要
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.
引用
收藏
页数:17
相关论文
共 52 条
  • [1] [Anonymous], 2015, ARXIV150202551CSSTAT
  • [2] ARAKAWA A, 1990, MON WEATHER REV, V118, P1960, DOI 10.1175/1520-0493(1990)118<1960:ECAPED>2.0.CO
  • [3] 2
  • [4] Arakawa A., 1977, General Circ Models Atmos, V17, P173, DOI DOI 10.1016/B978-0-12-460817-7.50009-4
  • [5] On quadratic bottom drag, geostrophic turbulence, and oceanic mesoscale eddies
    Arbic, Brian K.
    Scott, Robert B.
    [J]. JOURNAL OF PHYSICAL OCEANOGRAPHY, 2008, 38 (01) : 84 - 103
  • [6] Julia: A Fresh Approach to Numerical Computing
    Bezanson, Jeff
    Edelman, Alan
    Karpinski, Stefan
    Shah, Viral B.
    [J]. SIAM REVIEW, 2017, 59 (01) : 65 - 98
  • [7] Bfloat16 processing for Neural Networks
    Burgess, Neil
    Stephens, Nigel
    Milanovic, Jelena
    Monachopolous, Konstantinos
    [J]. 2019 IEEE 26TH SYMPOSIUM ON COMPUTER ARITHMETIC (ARITH), 2019, : 88 - 91
  • [8] Butcher J. C, 2016, Numerical Methods for Ordinary Differential Equations
  • [9] Scale-Selective Precision for Weather and Climate Forecasting
    Chantry, Matthew
    Thornes, Tobias
    Palmer, Tim
    Duben, Peter
    [J]. MONTHLY WEATHER REVIEW, 2019, 147 (02) : 645 - 655
  • [10] Parameterized Posit Arithmetic Hardware Generator
    Chaurasiya, Rohit
    Gustafson, John
    Shrestha, Rahul
    Neudorfer, Jonathan
    Nambiar, Sangeeth
    Niyogi, Kaustav
    Merchant, Farhad
    Leupers, Rainer
    [J]. 2018 IEEE 36TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2018, : 334 - 341