We present a novel compiler toolchain for domain-specific languages (DSLs), based on the GridTools ecosystem, that allows for easier design of high-level DSLs for weather and climate models.
The growing diversity of computing architectures where scientific models need to run is leading to a decrease of productivity due to the necessity to incorporate multiple programming models.
DSLs have been proposed to separate the algorithmic implementation from the architecture-specific implementation.
However, DSLs are developed for specific domains or individual applications.
Therefore there is little reuse between existing complex tools, leading to high maintenance costs.
A compiler toolchain for DSLs on weather and climate models provides common efficient code optimizers and code generation for multiple architectures, that can be reused across multiple tools.
We present results for the COSMO dynamical cores, and evaluate the approach comparing with other existing approaches.