Skip to main content
internal slider 1

D2.5 Implementation of comprehen- sive domain speci c language toolchain

internal slider 1

D2.5 Implementation of comprehen- sive domain speci c language toolchain

Authors
C. Muller, M. Rothlin, C. Osuna
Abstract

This document describes the work performed for the deliverable of a comprehensive domain specific language (DSL) toolchain. The DSL toolchain is a central pillar of the work performed in WP2 that allows to implement the ESCAPE-2 weather and climate dwarfs [2] using a high-level descriptive DSL language for code portability and performance portability. The use of the DSL for the ESCAPE-2 dwarfs allows to abstract away hardware specific implementation and advanced optimizations for different computing architectures. The deliverable is the set of software components, released as open source, that composes the entire DSL toolchain compiler. The toolchain is used to parse the weather and climate dwarfs and generate efficient kernels that are later compiled by vendor compilers. This document describes the architectural modular design
adopted for the DSL developed within the ESCAPE-2 project, where the software is located and how to build and use the compiler. Section 3.2 describes the different components of the toolchain and how they interact. Section 3.3 provides a working example and finally Section 3.4 gives an overview of how the generated kernels of the DSL can interoperate with existing Fortran code and be inserted in model implementations.

Files