The Multi-Stencil Language: orchestrating stencils with a mesh-agnostic DSL - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 2016

The Multi-Stencil Language: orchestrating stencils with a mesh-agnostic DSL

Le Langage MSL : orchestration de stencils au travers d'un DSL maillage-agnostique


As the computation power of modern high performance architectures increases, their heterogeneity and complexity also become more important. One of the big challenges of exascale is to get programming models which gives access to high performance computing (HPC) to many scientists and not only to a few HPC specialists. One relevant solution to ease parallel programming for scientists is Domain Specific Language (DSL). However, one problem to avoid with DSLs is to not design a new DSL each time a new domain or a new problem has to be solved. This phenomenon happens for stencil-based numerical simulations, for which a large number of languages has been proposed without code reuse between them. The Multi-Stencil Language (MSL) presented in this paper is a language common to any kind of mesh used into a stencil-based numerical simulation. It is said that MSL is mesh-agnostic. Actually, from the description of a numerical simulation, MSL produces an empty parallel pattern, or skeleton, of the simulation which will be filled using other existing parallel languages and libraries. Thus, MSL, by finding a common language for different kinds of stencil-based simulation, facilitates code reuse. MSL is evaluated on a real case simulation which solves shallow-water equations. It is shown that MSL does not introduce overheads on data parallelism up to 16.384 cores, and that the hybrid parallelism (data and task) introduced improves performance of the simulation.
Fichier principal
Vignette du fichier
RR-8962.pdf (1.11 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01380607 , version 1 (13-10-2016)
hal-01380607 , version 2 (19-10-2016)


  • HAL Id : hal-01380607 , version 2


Hélène Coullon, Julien Bigot, Christian Pérez. The Multi-Stencil Language: orchestrating stencils with a mesh-agnostic DSL. [Research Report] RR-8962, Inria - Research Centre Grenoble – Rhône-Alpes. 2016, pp.30. ⟨hal-01380607v2⟩
461 View
276 Download


Gmail Facebook X LinkedIn More