Performance portability challenges with climate model microphysics kernels
Performance Portability Explained: Insights from accelerating ICON microphysics
Distributed, Parallel, and Cluster ComputingPerformanceProgramming Languages
Summary
Scientific computing programs need to run fast on new powerful computers designed for artificial intelligence, but this can be hard without lots of engineering work. The authors studied different programming tools that help make code run efficiently across different machines by focusing on how the scientific problem itself is solved, not just copying old precise code. They tested seven programming approaches on a part of a climate model and found that no single approach works best everywhere. They also created a way to measure how easy it is to adapt these tools for specific hardware, helping developers choose the best method to get good performance.
What this means in practice
- •For climate model developers: Improve computing efficiency of climate simulation kernels on diverse supercomputers by selecting frameworks that balance performance and adaptability.
- •For hpc application engineers: Tailor portable code using the framework expressivity measure to optimize scientific kernels across multiple hardware architectures.
Authors
Faveo Hörold, Georgiana Mania, Panagiotis Adamidis, Harshada Balasubramanian, Jörg Behrens, Yakup Budanaz, Alexandru Calotoiu, Nicoletta Farabullini, Andreas Herten, Torsten Hoefler, Yannik Koenneker, Ioannis Magkanaris, Philip Müller, Ralf Müller, Edoardo Paone, William Sawyer, Bjorn Stevens, Hannes Vogt
Abstract
Scientific computing is under increasing pressure to adapt to HPC hardware that is shaped by AI workloads. In these modern ecosystems, extracting reasonable performance without investing major engineering effort is a central issue for domain scientists. Correctness constraints and intricate reference implementations represent further impediments to development. Instead of using a double-precision implementation as a reference, considering the underlying scientific problem directly opens more opportunities for performance improvements when updating and rewriting applications. We take seven different portability frameworks---covering pragma-based, DSL, and data-centric approaches---and evaluate them on a microphysics kernel of the ICON climate model. Our performance benchmarks show that each different HPC system benefits from a different combination of optimizations, so we develop the measure of framework expressivity to gauge how easily each framework can customize portable implementations in this way.