Single-precision arithmetic in ECHAM radiation reduces runtime and energy consumption.

Cotronei, Alessandro and Slawig, Thomas (2020) Single-precision arithmetic in ECHAM radiation reduces runtime and energy consumption. Open Access Geoscientific Model Development, 13 (6). pp. 2783-2804. DOI 10.5194/gmd-13-2783-2020.

[thumbnail of gmd-13-2783-2020.pdf]
Preview
Text
gmd-13-2783-2020.pdf - Published Version
Available under License Creative Commons: Attribution 4.0.

Download (20MB) | Preview

Supplementary data:

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.

Document Type: Article
Research affiliation: Kiel University > Kiel Marine Science
Refereed: Yes
Open Access Journal?: Yes
Publisher: Copernicus Publications (EGU)
Related URLs:
Projects: PalMod
Date Deposited: 25 Jun 2020 09:23
Last Modified: 08 Feb 2023 09:34
URI: https://oceanrep.geomar.de/id/eprint/49966

Actions (login required)

View Item View Item