Abstract
This paper presents two design patterns useful for parallel computations of master-slave model. These patterns are concerned with task management and parallel and distributed data structures. They can be used to help addressing the issues of data partition and mapping, dynamic task allocation and management in parallel programming with the benefit of less programming efforts and better program structures. The patterns are described in object-oriented notation, accompanied with illustrative examples in C++. We also provide our experience in applying these patterns to two scientific simulation programs simulating Ising model and plasma physics respectively. Since master-slave model is a widely used parallel programming paradigm, the design patterns presented in this paper have large potential application in parallel computations.
Original language | English |
---|---|
Pages (from-to) | 197-204 |
Number of pages | 8 |
Journal | Information Processing Letters |
Volume | 70 |
Issue number | 4 |
DOIs | |
State | Published - 28 May 1999 |