Integrating a Python Dynamical core into ICON

📅 2026-08-21
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文解决了地球系统模型向exascale过渡时遇到的代码维护和性能问题,通过将基于Python的ICON动力核心集成到Fortran代码中,并利用GT4Py DSL与DaCe优化框架,实现了高效能。
📝 Abstract
The transition of Earth-system models to exascale is often hindered by rigid, monolithic Fortran codebases and maintenance-heavy compiler directives. While high-level DSLs offer a solution, they frequently fail due to cumbersome integration. We present the integration of a Python-based ICON dynamical core into the original Fortran simulation code. Leveraging the GT4Py DSL and the Data-Centric (DaCe) optimization framework, we demonstrate that high-level Python can be seamlessly integrated into legacy infrastructure without performance loss. Our results challenge the assumption that Python orchestration introduces prohibitive HPC overhead. In production-grade global simulations, our Python dynamical core achieves a 20--30\% performance improvement over the highly-optimized Fortran+OpenACC implementation, with a 10\% improvement on the total time for a coupled setup. Driven by advanced data-flow optimizations and automated kernel fusion, this approach replaces hardware-entangled directives by generating optimized device code from a single, portable Python source. This work proves that Python can provide a sustainable, efficient, and hardware-agnostic future for global climate modeling.
Problem

Research questions and friction points this paper is trying to address.

Earth-system models
exascale
Fortran codebases
maintenance-heavy compiler directives
high-level DSLs
Innovation

Methods, ideas, or system contributions that make the work stand out.

GT4Py DSL
DaCe optimization framework
data-flow optimizations
automated kernel fusion
hardware-agnostic
🔎 Similar Papers
No similar papers found.
M
Mauro Bianco
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
T
Till Ehrengruber
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
E
Enrique González Paredes
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
A
Andreas Jocksch
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
C
Christos Kotsalos
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
I
Ioannis Magkanaris
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
Philip Müller
Philip Müller
PhD Student, Technical University of Munich
Deep Learning
E
Edoardo Paone
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
M
Mikael Simberg
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
H
Hannes Vogt
ETH Zurich, Swiss National Supercomputing Centre (CSCS), Lugano, Switzerland
J
Jacopo Canton
ETH Zurich, Center for Climate System Modeling (C2SM), Zurich, Switzerland
Y
Yilu Chen
ETH Zurich, Center for Climate System Modeling (C2SM), Zurich, Switzerland
A
Anurag Dipankar
ETH Zurich, Center for Climate System Modeling (C2SM), Zurich, Switzerland
N
Nicoletta Farabullini
ETH Zurich, Center for Climate System Modeling (C2SM), Zurich, Switzerland
M
Michael Jähn
ETH Zurich, Center for Climate System Modeling (C2SM), Zurich, Switzerland
M
Matthieu Leclair
ETH Zurich, Center for Climate System Modeling (C2SM), Zurich, Switzerland
O
Ong Chia Rui
ETH Zurich, Center for Climate System Modeling (C2SM), Zurich, Switzerland
N
Nathan Beech
ETH Zurich, Department of Environmental Systems Science, Zurich, Switzerland
N
Nicolas Gruber
ETH Zurich, Department of Environmental Systems Science, Zurich, Switzerland
C
Christoph Müller
Swiss Federal Office for Meteorology and Climatology (MeteoSwiss), Zurich, Switzerland
D
Daniel Hupp
Swiss Federal Office for Meteorology and Climatology (MeteoSwiss), Zurich, Switzerland
X
Xavier Lapillonne
Swiss Federal Office for Meteorology and Climatology (MeteoSwiss), Zurich, Switzerland