arXiv:2608.21150cs.DCAug 2026

Manuscript Offprint

arXiv:2608.21150

Integrating a Python Dynamical core into ICON

Mauro Bianco, Till Ehrengruber, Enrique González Paredes, Andreas Jocksch, Christos Kotsalos, Ioannis Magkanaris, Philip Müller, Edoardo Paone, Mikael Simberg, Hannes Vogt, Jacopo Canton, Yilu Chen, Anurag Dipankar, Nicoletta Farabullini, Michael Jähn, Matthieu Leclair, Ong Chia Rui, Nathan Beech, Nicolas Gruber, Christoph Müller, Daniel Hupp, Xavier Lapillonne

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Mauro Bianco

Till Ehrengruber

Enrique González Paredes

Andreas Jocksch

Christos Kotsalos

Ioannis Magkanaris

Philip Müller

Edoardo Paone

Mikael Simberg

Hannes Vogt

ETH Zurich, Swiss National Supercomputing Centre (CSCS)

Lugano, Switzerland

Nathan Beech

Nicolas Gruber

ETH Zurich, Department of Environmental Systems

Science

Zurich, Switzerland

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.

Jacopo Canton

Yilu Chen

Anurag Dipankar

Nicoletta Farabullini

Michael Jähn

Matthieu Leclair

Ong Chia Rui

ETH Zurich, Center for Climate System Modeling (C2SM)

Zurich, Switzerland

Christoph Müller

Daniel Hupp

Xavier Lapillonne

Swiss Federal Office for Meteorology and Climatology

(MeteoSwiss)

Zurich, Switzerland

CCS Concepts

• Computing methodologies → Massively parallel and high-performance simulations; Earth system modeling; • Software and its engineering → Domain specific languages; Interoperability.

References (22)