Productive Performance Engineering for Weather and Climate Modeling with Python

05/09/2022
by   Tal Ben-Nun, et al.
0

Earth system models are developed with a tight coupling to target hardware, often containing highly-specialized code predicated on processor characteristics. This coupling stems from using imperative languages that hard-code computation schedules and layout. In this work, we present a detailed account of optimizing the Finite Volume Cubed-Sphere (FV3) weather model, improving productivity and performance. By using a declarative Python-embedded stencil DSL and data-centric optimization, we abstract hardware-specific details and define a semi-automated workflow for analyzing and optimizing weather and climate applications. The workflow utilizes both local optimization and full-program optimization, as well as user-guided fine-tuning. To prune the infeasible global optimization space, we automatically utilize repeating code motifs via a novel transfer tuning approach. On the Piz Daint supercomputer, we achieve speedups of up to 3.92x using GPUs over the tuned production implementation at a fraction of the original code.

READ FULL TEXT

page 1

page 2

research
08/16/2019

Report on the performance portability demonstrated for the relevant Weather & Climate Dwarfs

This document is one of the deliverable reports created for the ESCAPE p...
research
07/01/2021

Productivity, Portability, Performance: Data-Centric Python

Python has become the de facto language for scientific computing. Progra...
research
08/16/2019

Batch 1: Definition of several Weather & Climate Dwarfs

This document is one of the deliverable reports created for the ESCAPE p...
research
11/29/2021

ClimART: A Benchmark Dataset for Emulating Atmospheric Radiative Transfer in Weather and Climate Models

Numerical simulations of Earth's weather and climate require substantial...
research
08/16/2019

Development of Atlas, a flexible data structure framework

This document is one of the deliverable reports created for the ESCAPE p...
research
10/28/2020

Porting the microphysics model CASIM to GPU and KNL Cray machines

CASIM is a microphysics scheme which calculates the interaction between ...
research
09/19/2018

LFRic: Meeting the challenges of scalability and performance portability in Weather and Climate models

This paper describes LFRic: the new weather and climate modelling system...

Please sign up or login with your details

Forgot password? Click here to reset