FESOM2.8 in single precision: climate fidelity over six decades and performance on CPUs and GPUs
Suvarchal Kumar Cheedela, Nikolay V. Koldunov, Sergey Danilov, Jan Streffing, Dmitry Sidorenko, Thomas Jung
Abstract
Halving the floating-point precision of an ocean model can make it substantially faster, but whether the rounding errors stay negligible over climate time scales has rarely been tested. We implement single precision in the global ocean-sea-ice model FESOM2 and compare 60-year hindcasts with double-precision controls. A first implementation lost salt steadily, accumulated a heat-content deficit of 129 ZJ, and shifted major ocean fronts. Controlled experiments trace the drift to the tracer update: small increments added to a large salinity value are rounded away, and the increments themselves are biased. Accumulating tracer tendencies and layer thicknesses in 64 bits, and carrying the rounding error of each tracer update into the next, removes the drift for at most 8% additional runtime. Single- and double-precision simulations then differ in heat content and mean state about as much as two double-precision runs with slightly perturbed initial conditions, sea ice differs by at most 0.2%, and he salinity difference is four orders of magnitude smaller than before. In the coupled model AWI-ESM3, single precision adds no detectable heat source or sink over 60 years. Single precision speeds up the 60-year hindcasts by a factor of 1.35, and the model by up to 1.66 on meshes of up to 5 km resolution; on GPUs, a C++/Kokkos version runs up to 1.27 times faster and needs 43% less memory. Whether reduced precision is safe for climate integrations is decided by long-term budgets, not by short tests.
Create a lesson
Related papers
WRF-JAX v1.1.28: a differentiable regional weather model with fully coupled physics, numerically consistent with WRF and matching 128-process CPU performance on a single GPU
Shared title terminology · Shijin Yuan, Tianyu Shen, Bin Mu et al.
Beyond Resolution: Inference-Time Parameterized Temporal Consistency in Generative Regional Climate Downscaling
Shared title terminology · Luca Glawion, Julius Polz, Harald Kunstmann et al.
HybridCT: ML Accelerated Tomography for Climate Relevant 3D Cloud Observations
Shared title terminology · Linda Forster, Nicholas J. LaHaye, Marcin J. Kurowski et al.
Is AMOC collapse too unstable in climate models?
Shared title terminology · Sybren Drijfhout, Alejandra Sanchez-Franks
Half-precision inference of AI weather prediction models: negligible loss of skill at a fraction of the cost
Shared title terminology · Stefan Siegert
Urban climate regressions require representative monitoring networks
Shared title terminology · Martí Bosch, Aldo Brandi, Christoph Bachofen et al.