Mixed-precision ocean modelling at ECMWF

The resolution of Earth System models may be substantially increased in the next decade with the emergence of exascale supercomputer architectures. These architectures will likely support a range of floating-point precisions, and prompt us to reconsider our use of double-precision as a default. Sing...

Full description

Bibliographic Details
Main Authors: Hatfield, Sam, Mogensen, Kristian, Dueben, Peter, Wedi, Nils
Format: Conference Object
Language:unknown
Published: Zenodo 2020
Subjects:
Online Access:https://dx.doi.org/10.5281/zenodo.3982237
https://zenodo.org/record/3982237
id ftdatacite:10.5281/zenodo.3982237
record_format openpolar
spelling ftdatacite:10.5281/zenodo.3982237 2023-05-15T17:53:57+02:00 Mixed-precision ocean modelling at ECMWF Hatfield, Sam Mogensen, Kristian Dueben, Peter Wedi, Nils 2020 https://dx.doi.org/10.5281/zenodo.3982237 https://zenodo.org/record/3982237 unknown Zenodo https://zenodo.org/communities/esiwace https://dx.doi.org/10.5281/zenodo.3982238 https://zenodo.org/communities/esiwace Open Access Creative Commons Attribution 4.0 International https://creativecommons.org/licenses/by/4.0/legalcode cc-by-4.0 info:eu-repo/semantics/openAccess CC-BY Text Presentation article-journal ScholarlyArticle 2020 ftdatacite https://doi.org/10.5281/zenodo.3982237 https://doi.org/10.5281/zenodo.3982238 2021-11-05T12:55:41Z The resolution of Earth System models may be substantially increased in the next decade with the emergence of exascale supercomputer architectures. These architectures will likely support a range of floating-point precisions, and prompt us to reconsider our use of double-precision as a default. Single-precision arithmetic, for example, has been successfully applied to atmospheric models where 40% reductions of computational cost have been observed. Equally, the potential for reduction of numerical precision in ocean models has recently been explored (GMD 12, 3135–3148, 2019). Given that ocean models are, like atmospheric models, memory and communication bound, the use of single- or mixed-double-single-precision can be expected to deliver similar performance gains. For both atmosphere and ocean, there are however remaining questions regarding the impact on variables with long-timescale memory, the dependence on subtle differences in weak gradient scenarios of mixed-phase fluids, and more generally transport uncertainty, which would benefit from a systematic intercomparison of both algorithmic choices and their precision sensitivity. Here we present preliminary results from running NEMO with single-precision arithmetic at ECMWF, focusing on its computational and forecast performance, with respect to the double-precision model. We focus on a double-gyre, mesoscale eddy-resolving test case and a global 1/4 degree ORCA configuration complete with sea-ice. We find that, in some cases, single-precision can deliver a greater than 2x speed-up with respect to double-precision, though the impact on the model climatology and forecast performance is as yet not explored comprehensively. In this regard, we welcome any advice and insights from other users of NEMO. Conference Object Orca Sea ice DataCite Metadata Store (German National Library of Science and Technology)
institution Open Polar
collection DataCite Metadata Store (German National Library of Science and Technology)
op_collection_id ftdatacite
language unknown
description The resolution of Earth System models may be substantially increased in the next decade with the emergence of exascale supercomputer architectures. These architectures will likely support a range of floating-point precisions, and prompt us to reconsider our use of double-precision as a default. Single-precision arithmetic, for example, has been successfully applied to atmospheric models where 40% reductions of computational cost have been observed. Equally, the potential for reduction of numerical precision in ocean models has recently been explored (GMD 12, 3135–3148, 2019). Given that ocean models are, like atmospheric models, memory and communication bound, the use of single- or mixed-double-single-precision can be expected to deliver similar performance gains. For both atmosphere and ocean, there are however remaining questions regarding the impact on variables with long-timescale memory, the dependence on subtle differences in weak gradient scenarios of mixed-phase fluids, and more generally transport uncertainty, which would benefit from a systematic intercomparison of both algorithmic choices and their precision sensitivity. Here we present preliminary results from running NEMO with single-precision arithmetic at ECMWF, focusing on its computational and forecast performance, with respect to the double-precision model. We focus on a double-gyre, mesoscale eddy-resolving test case and a global 1/4 degree ORCA configuration complete with sea-ice. We find that, in some cases, single-precision can deliver a greater than 2x speed-up with respect to double-precision, though the impact on the model climatology and forecast performance is as yet not explored comprehensively. In this regard, we welcome any advice and insights from other users of NEMO.
format Conference Object
author Hatfield, Sam
Mogensen, Kristian
Dueben, Peter
Wedi, Nils
spellingShingle Hatfield, Sam
Mogensen, Kristian
Dueben, Peter
Wedi, Nils
Mixed-precision ocean modelling at ECMWF
author_facet Hatfield, Sam
Mogensen, Kristian
Dueben, Peter
Wedi, Nils
author_sort Hatfield, Sam
title Mixed-precision ocean modelling at ECMWF
title_short Mixed-precision ocean modelling at ECMWF
title_full Mixed-precision ocean modelling at ECMWF
title_fullStr Mixed-precision ocean modelling at ECMWF
title_full_unstemmed Mixed-precision ocean modelling at ECMWF
title_sort mixed-precision ocean modelling at ecmwf
publisher Zenodo
publishDate 2020
url https://dx.doi.org/10.5281/zenodo.3982237
https://zenodo.org/record/3982237
genre Orca
Sea ice
genre_facet Orca
Sea ice
op_relation https://zenodo.org/communities/esiwace
https://dx.doi.org/10.5281/zenodo.3982238
https://zenodo.org/communities/esiwace
op_rights Open Access
Creative Commons Attribution 4.0 International
https://creativecommons.org/licenses/by/4.0/legalcode
cc-by-4.0
info:eu-repo/semantics/openAccess
op_rightsnorm CC-BY
op_doi https://doi.org/10.5281/zenodo.3982237
https://doi.org/10.5281/zenodo.3982238
_version_ 1766161655149887488