z-logo
open-access-imgOpen Access
Application of the CHARM++ software model as a target platform for a domain-specific language compiler for the analysis of static graphs
Author(s) -
А. С. Фролов
Publication year - 2017
Publication title -
vyčislitelʹnye metody i programmirovanie
Language(s) - English
Resource type - Journals
eISSN - 1726-3522
pISSN - 0507-5386
DOI - 10.26089/nummet.v18r208
Subject(s) - charm (quantum number) , compiler , marl , computer science , programming language , graph , parallel computing , digital subscriber line , particle physics , physics , theoretical computer science , paleontology , telecommunications , structural basin , biology
Представлена реализация модуля генерации параллельного программного кода на Charm++ в компиляторепроблемно-ориентированного языка программирования Green-Marl, предназначенного для разработки параллельных алгоритмов анализа статических графов. Приводится описание представления графа вгенерируемом коде и способов отображения основных конструкций языка Green-Marl в параллельный код на Charm++. Проведенное оценочное тестирование с использованием типовых графовых задач (поиск кратчайших путей от заданной вершины до остальных вершин графа (SSSP), поиск связных компонент (CC) и вычисление рангов вершин с использованием алгоритма PageRank) показало, что производительность программ на Green-Marl, странслированных в Charm++, находится на одном уровне с реализациями на Charm++, разработанными вручную. The implementation of a code generation mechanism in the domain-specific language (DSL) Green-Marl compiler targeted in the Charm++ framework is presented. Green-Marl is used for the parallel static graph analysis and adopts an imperative shared memory programming model, whereas Charm++ implements a message-driven execution model. The graph representation in the generated Charm++ code and the translation of the basic Green-Marl constructs to Charm++ are described. The evaluation of the typical graph algorithms: Single-Source Shortest Path (SSSP), Connected Components (CC), and PageRank shows that the performance of Green-Marl programs translated to Charm++ is the same as for native Charm++ implementations.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here