物理学 > 大气与海洋物理
[提交于 2020年1月7日]
标题:Single precision arithmetic in ECHAM radiation reduces runtime and energy consumption
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We converted the radiation part of the atmospheric model ECHAM to single precision arithmetic. We analyzed different conversion strategies and finally used a step by step change of 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 performance gain, in both coarse and low resolution. The single precision radiation itself was accelerated by about 40%, whereas the speed-up 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.
提交历史
来自:Thomas Slawig[v1] 2020年1月7日 星期二 00:00:00 UTC