Abstract
The growth of the computing capacities makes it possible to obtain more and more precise simulation results. These results are often calculated in binary64 with the idea that round-off errors are not significant. However, exascale is pushing back the known limits and the problems of accumulating round-off errors could come back and require increasing further the precision. But working with extended precision, regardless of the method used, has a significant cost in memory, computation time and energy and would not allow to use the full performance of HPC computers. It is therefore important to measure the robustness of the binary64 by anticipating the future computing resources in order to ensure its durability in numerical simulations. For this purpose, numerical experiments have been performed and are presented in this article. Those were performed with weak floats which were specifically designed to conduct an empirical study of round-off errors in hydrodynamic simulations and to build an error model that extracts the part due to round-off error in the results. This model confirms that errors remain dominated by the scheme errors in our numerical experiments.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
If several realizations of the same experiment under identical conditions give exactly identical results, then the experiment is said to be reproducible.
References
Ascher, U.M., Greif, C.: A First Course in Numerical Methods. Society for Industrial and Applied Mathematics, USA (2011)
Atkinson, K.E., Han, W., Stewart, D.: Euler’s method, chap. 2, pp. 15–36. Wiley, Hoboken (2011)
Boldo, S., Ben Salem-Knapp, L., Weens, W.: Bounding the round-off error of the upwind scheme for advection, submitted
Boldo, S., Clément, F., Filliâtre, J.C., Mayero, M., Melquiond, G., Weis, P.: Wave equation numerical resolution: a comprehensive mechanized proof of a C program. J. Autom. Reason. 50(4), 423–456 (2013). https://doi.org/10.1007/s10817-012-9255-4
Boldo, S., Faissole, F., Chapoutot, A.: Round-off error and exceptional behavior analysis of explicit Runge-Kutta methods. IEEE Trans. Comput. (2019)
Chapoutot, A., Alexandre dit Sandretto, J., Mullier, O.: Validated explicit and implicit Runge-Kutta methods. In: Small Workshop on Interval Methods. Prague, Czech Republic (2015)
Euler, L.: Principes généraux du mouvement des fluides. Mémoires de l’Académie Royale des Sciences et des Belles Lettres de Berlin 11, 274–315 (1755)
Gautschi, W.: Numerical Analysis: An Introduction. Birkhauser Boston Inc., Cambridge (1997)
Godunov, S.K.: Eine Differenzenmethode für die Näherungsberechnung unstetiger Lösungen der hydrodynamischen Gleichungen. Mat. Sb., Nov. Ser. 47, 271–306 (1959)
Harvey, R., Verseghy, D.L.: The reliability of single precision computations in the simulation of deep soil heat diffusion in a land surface model. Clim. Dyn. 46(11), 3865–3882 (2016). https://doi.org/10.1007/s00382-015-2809-5
Henrici, P.: Error propagation for difference methods. In: The SIAM Series in Applied Mathematics. Wiley, New York (1963)
Heroux, M.A., et al.: ECP software technology capability assessment report (2020). www.exascaleproject.org
Higham, N.J.: 2. Floating point arithmetic, pp. 35–60. SIAM (2002)
IEEE: IEEE Standard for Floating-Point Arithmetic. Institute of Electrical and Electronics Engineers IEEE Std 754–2008, pp. 1–70 (2008)
Izquierdo, L.R., Polhill, J.G.: Is your model susceptible to floating-point errors? J. Artif. Soc. Soc. Simul. 9(4), 1–4 (2006)
Kahan, W.: Pracniques: further remarks on reducing truncation errors. Commun. ACM 8(1), 40 (1965)
Knuth, D.E.: The art of computer programming. In: Seminumerical Algorithms, 3rd edn, vol. 2. Addison-Wesley, Boston (1997)
Lax, P.D.: Weak solutions of nonlinear hyperbolic equations and their numerical computation. Commun. Pure Appl. Math. 7(1), 159–193 (1954)
LeVeque, R.J.: Finite volume methods for hyperbolic problems. In: Cambridge Texts in Applied Mathematics, Cambridge University Press (2002)
Muller, J.M., et al.: Handbook of Floating-Point Arithmetic, 2nd edn. Birkhäuser Boston (2018). ACM G.1.0; G.1.2; G.4; B.2.0; B.2.4; F.2.1. ISBN 978-3-319-76525-9
Muller, J.M., et al.: Handbook of Floating-point Arithmetic, 2nd edn. Birkhäuser, Basel (2018)
Rusanov, V.V.: The calculation of the interaction of non-stationary shock waves with barriers. Zh. Vychisl. Mat. Mat. Fiz, pp. 267–279 (1961)
Alexandre dit Sandretto, J., Chapoutot, A.: Validated simulation of differential algebraic equations. In: Small Workshop on Interval Methods, Prague, Czech Republic (2015)
Sod, G.A.: A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws. J. Comput. Phys. 27(1), 1–31 (1978)
Spiegel, S.C., Huynh, H., DeBonis, J.R.: A survey of the isentropic euler vortex problem using high-order methods, chap. 1, p. 1 (2015). https://arc.aiaa.org/
Thornes, T., Düben, P., Palmer, T.: A power law for reduced precision at small spatial scales: experiments with an SQG model. Q. J. R. Meteorol. Soc. 144(713), 1179–1188 (2018)
Toro, E.F.: Riemann Solvers and Numerical Methods for Fluid Dynamics. Springer, Heidelberg (2009). https://doi.org/10.1007/b79761
Váňa, F., et al.: Single precision in weather forecasting models: an evaluation with the IFS. Mon. Weather Rev. 145(2), 495–502 (2017)
Weens, W.: Toward a predictive model to monitor the balance between discretization and rounding errors in hydrodynamic simulations. In: SIAM Conference on Parallel Processing for Scientific Computing (2020)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this paper
Cite this paper
Weens, W., Vazquez-Gonzalez, T., Salem-Knapp, L.B. (2022). Modeling Round-Off Errors in Hydrodynamic Simulations. In: Bloem, R., Dimitrova, R., Fan, C., Sharygina, N. (eds) Software Verification. NSV VSTTE 2021 2021. Lecture Notes in Computer Science(), vol 13124. Springer, Cham. https://doi.org/10.1007/978-3-030-95561-8_11
Download citation
DOI: https://doi.org/10.1007/978-3-030-95561-8_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-95560-1
Online ISBN: 978-3-030-95561-8
eBook Packages: Computer ScienceComputer Science (R0)