← all records

NWP Turbulence granule Python port

pitch-4a7b90 · in MCH

Problem

The NWP 1D turbulence is badly optimized in OpenACC. Fusing the pointwise stencils could give a large speedup -- claude estimates 3x, and 1.4x would already be worth having.

Appetite

Half a week.

Solution

Instruct claude to port the code to icon4py and write a blue line granule interface. Port only living code: many of ICON's namelist switches are never used. Verify against serialized data from the MCH and DWD experiments.

Rabbit holes

Avoid extensive rewriting, reformulating and refactoring. Even where it is ugly, staying close to the Fortran is probably right for now.

No-gos

Interfacing to the green line driver. Not yet.

Progress

  • No PR yet

This row sits below the cycle-38 betting table rather than in it, with no developer column filled, so it was not formally bet. It is written here because Christoph is in fact working on it.