3.8 Proceedings Paper

Productive Performance Engineering for Weather and Climate Modeling with Python

Publisher

IEEE
DOI: 10.1109/SC41404.2022.00078

Keywords

Numerical Weather Prediction; Python; Data-Centric Programming

Funding

  1. European Research Council under the European Union [101002047]
  2. EuroHPC-JU [955606, 955513]
  3. Horizon 2020 programme
  4. PASC program (Platform for Advanced Scientific Computing)
  5. Swiss National Science Foundation [185778]
  6. Swiss National Supercomputing Centre (CSCS) [s1053]
  7. Allen Institute for Artificial Intelligence (AI2)
  8. Vulcan Inc.
  9. European Research Council (ERC) [101002047] Funding Source: European Research Council (ERC)

Ask authors/readers for more resources

This study presents an optimization approach for weather and climate applications, achieving significant performance improvements by abstracting hardware details and utilizing optimization techniques.
Earth system models are developed with a tight coupling to target hardware, often containing specialized code predicated on processor characteristics. This coupling stems from using imperative languages that hard-code computation schedules and layout. We present a detailed account of optimizing the Finite Volume Cubed-Sphere Dynamical Core (FV3), improving productivity and performance. By using a declarative Python-embedded stencil domain-specific language 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 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 scale to 2,400 GPUs, achieving speedups of up to 3.92x over the tuned production implementation at a fraction of the original code.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

3.8
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available