On the use of programmable hardware and reduced numerical precision in earth-system modeling

被引:25
作者
Dueben, Peter D. [1 ]
Russell, Francis P. [2 ]
Niu, Xinyu [2 ]
Luk, Wayne [2 ]
Palmer, T. N. [1 ]
机构
[1] Univ Oxford, Dept Phys, AOPP, Oxford, England
[2] Univ London Imperial Coll Sci Technol & Med, Dept Comp, London, England
来源
JOURNAL OF ADVANCES IN MODELING EARTH SYSTEMS | 2015年 / 7卷 / 03期
基金
英国工程与自然科学研究理事会;
关键词
ACCURACY; WEATHER;
D O I
10.1002/2015MS000494
中图分类号
P4 [大气科学(气象学)];
学科分类号
0706 ; 070601 ;
摘要
Programmable hardware, in particular Field Programmable Gate Arrays (FPGAs), promises a significant increase in computational performance for simulations in geophysical fluid dynamics compared with CPUs of similar power consumption. FPGAs allow adjusting the representation of floating-point numbers to specific application needs. We analyze the performance-precision trade-off on FPGA hardware for the two-scale Lorenz '95 model. We scale the size of this toy model to that of a high-performance computing application in order to make meaningful performance tests. We identify the minimal level of precision at which changes in model results are not significant compared with a maximal precision version of the model and find that this level is very similar for cases where the model is integrated for very short or long intervals. It is therefore a useful approach to investigate model errors due to rounding errors for very short simulations (e.g., 50 time steps) to obtain a range for the level of precision that can be used in expensive long-term simulations. We also show that an approach to reduce precision with increasing forecast time, when model errors are already accumulated, is very promising. We show that a speed-up of 1.9 times is possible in comparison to FPGA simulations in single precision if precision is reduced with no strong change in model error. The single-precision FPGA setup shows a speed-up of 2.8 times in comparison to our model implementation on two 6-core CPUs for large model setups.
引用
收藏
页码:1393 / 1408
页数:16
相关论文
共 29 条
  • [1] [Anonymous], 2011, P DES AUT TEXT EUR
  • [2] Stochastic parametrizations and model uncertainty in the Lorenz '96 system
    Arnold, H. M.
    Moroz, I. M.
    Palmer, T. N.
    [J]. PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2013, 371 (1991):
  • [3] COMPILER TRANSFORMATIONS FOR HIGH-PERFORMANCE COMPUTING
    BACON, DF
    GRAHAM, SL
    SHARP, OJ
    [J]. ACM COMPUTING SURVEYS, 1994, 26 (04) : 345 - 420
  • [4] Boland D, 2012, FPGA 12: PROCEEDINGS OF THE 2012 ACM-SIGDA INTERNATIONAL SYMPOSIUM ON FIELD PROGRAMMABLE GATE ARRAYS, P185
  • [5] Automated Precision Analysis: A Polynomial Algebraic Approach
    Boland, David
    Constantinides, George A.
    [J]. 2010 18TH IEEE ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM 2010), 2010, : 157 - 164
  • [6] Directorate E, 2012, ECMWF NEWSL, V133
  • [7] Düben P, 2015, DES AUT TEST EUROPE, P764
  • [8] Rounding errors may be beneficial for simulations of atmospheric flow: results from the forced 1D Burgers equation
    Duben, Peter D.
    Dolaptchiev, Stamen I.
    [J]. THEORETICAL AND COMPUTATIONAL FLUID DYNAMICS, 2015, 29 (04) : 311 - 328
  • [9] Benchmark Tests for Numerical Weather Forecasts on Inexact Hardware
    Dueben, Peter D.
    Palmer, T. N.
    [J]. MONTHLY WEATHER REVIEW, 2014, 142 (10) : 3809 - 3829
  • [10] On the use of inexact, pruned hardware in atmospheric modelling
    Dueben, Peter D.
    Joven, Jaume
    Lingamneni, Avinash
    McNamara, Hugh
    De Micheli, Giovanni
    Palem, Krishna V.
    Palmer, T. N.
    [J]. PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2014, 372 (2018):