Content area

Abstract

We explore the domain-specific Python library GT4Py (GridTools for Python) for implementing a representative physical parametrization scheme and the related tangent-linear and adjoint algorithms from the Integrated Forecasting System (IFS) of ECMWF. GT4Py encodes stencil operators in an abstract and hardware-agnostic fashion, thus enabling more concise, readable, and maintainable scientific applications. The library achieves high performance by translating the application into targeted low-level coding implementations. Here, the main goal is to study the correctness and performance portability of the Python rewrites with GT4Py against the reference Fortran code and a number of automatically and manually ported variants created by ECMWF. The present work is part of a larger cross-institutional effort to port weather and climate models to Python with GT4Py. The focus of the current work is the IFS prognostic cloud microphysics scheme, a core physical parametrization represented by a comprehensive code that takes a significant share of the total forecast model execution time. In order to verify GT4Py for numerical weather prediction (NWP) systems, we put additional emphasis on the implementation and validation of the tangent-linear and adjoint model versions which are employed in data assimilation. We benchmark all prototype codes on three European supercomputers characterized by diverse graphics processing unit (GPU) and central processing unit (CPU) hardware, node designs, software stacks, and compiler suites. Once the application is ported to Python with GT4Py, we find excellent portability, competitive GPU performance, and robust execution in all tested scenarios including with single precision.

Details

1009240
Business indexing term
Title
Exploring a high-level programming model for the NWP domain using ECMWF microphysics schemes
Author
Ubbiali, Stefano 1   VIAFID ORCID Logo  ; Kühnlein, Christian 2   VIAFID ORCID Logo  ; Schär, Christoph 1   VIAFID ORCID Logo  ; Schlemmer, Linda 3   VIAFID ORCID Logo  ; Schulthess, Thomas C 4 ; Staneker, Michael 2 ; Wernli, Heini 1   VIAFID ORCID Logo 

 Institute for Atmospheric and Climate Science (IAC), ETH Zurich, Zurich, Switzerland 
 European Centre for Medium-Range Weather Forecasts (ECMWF), Bonn, Germany 
 Deutscher Wetterdienst (DWD), Offenbach, Germany 
 Institute for Theoretical Physics (ITP), ETH Zurich, Zurich, Switzerland; Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland 
Publication title
Volume
18
Issue
2
Pages
529-546
Publication year
2025
Publication date
2025
Publisher
Copernicus GmbH
Place of publication
Katlenburg-Lindau
Country of publication
Germany
Publication subject
ISSN
1991962X
e-ISSN
19919603
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Milestone dates
2024-05-11 (Received); 2024-06-03 (Revision request); 2024-09-23 (Revision received); 2024-11-28 (Accepted)
ProQuest document ID
3161302056
Document URL
https://www.proquest.com/scholarly-journals/exploring-high-level-programming-model-nwp-domain/docview/3161302056/se-2?accountid=208611
Copyright
© 2025. This work is published under https://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-07-22
Database
ProQuest One Academic