Single-precision arithmetic in ECHAM radiation reduces runtime and energy consumption
Open Access
- 24 June 2020
- journal article
- research article
- Published by Copernicus GmbH in Geoscientific Model Development
- Vol. 13 (6) , 2783-2804
Abstract
We converted the radiation part of the atmospheric model ECHAM to a single-precision arithmetic. We analyzed different conversion strategies and finally used a step-by-step change in all modules, subroutines and functions. We found out that a small code portion still requires higher-precision arithmetic. We generated code that can be easily changed from double to single precision and vice versa, basically using a simple switch in one module. We compared the output of the single-precision version in the coarse resolution with observational data and with the original double-precision code. The results of both versions are comparable. We extensively tested different parallelization options with respect to the possible runtime reduction, at both coarse and low resolution. The single-precision radiation itself was accelerated by about 40 %, whereas the runtime reduction for the whole ECHAM model using the converted radiation achieved 18 % in the best configuration. We further measured the energy consumption, which could also be reduced.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Modern Fortran Explained2018
- Software Engineering for Computational Science: Past, Present, FutureComputing in Science & Engineering, 2018
- rpe v5: an emulator for reduced floating-point precision in large numerical simulationsGeoscientific Model Development, 2017
- Single Precision in Weather Forecasting Models: An Evaluation with the IFSMonthly Weather Review, 2017
- Atmospheric component of the MPI‐M Earth System Model: ECHAM6Journal of Advances in Modeling Earth Systems, 2013
- Tuning the climate of a global modelJournal of Advances in Modeling Earth Systems, 2012
- The Version-2 Global Precipitation Climatology Project (GPCP) Monthly Precipitation Analysis (1979–Present)Journal of Hydrometeorology, 2003
- Two-Stream Approximations to Radiative Transfer in Planetary Atmospheres: A Unified Description of Existing Methods and a New ImprovementJournal of the Atmospheric Sciences, 1980