Polynomial-Time Construction of Optimal MPI Derived Datatype Trees
Polynomial-Time Construction of Optimal MPI Derived Datatype Trees
复制标题
最佳 MPI 派生数据类型树的多项式时间构造
DOI:
--
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
J. Träff
中科院分区:
文献类型:
--
作者:
R. Ganian;Martin Kalany;Stefan Szeider;J. Träff
The derived datatype mechanism is a powerful, integral feature of the Message-Passing Interface (MPI) for communicating arbitrarily structured, possibly non-consecutive and non-homogeneous application data. MPI defines a set of derived datatype constructors of increasing generality, which allows to describe arbitrary data layouts in a reasonably compact fashion. The constructors may be applied recursively, leading to tree-like representations of the application data layouts. Efficient derived datatype representations are required for MPI implementations to efficiently access and process structured application data. We study the problem of finding tree-like representations of MPI derived datatypes that are optimal in terms of space and processing cost. More precisely, we consider the so-called MPI Type Reconstruction Problem of determining a least-cost tree-like representation of a given data layout for a given set of constructors. In an additive cost model that accounts for the space consumption of the constructors and lower-bounds the processing costs, we show that the problem can be solved in polynomial time for the full set of MPI datatype constructors. Our algorithm uses dynamic programming and requires the solution of a series of shortest path problems on an incrementally built, directed, acyclic graph.