Title :
Using Shared Arrays in Message-Driven Parallel Programs
Author :
Miller, Phil ; Becker, Aaron ; Kalé, Laxmikant
Author_Institution :
Dept. of Comput. Sci., Univ. of Illinois at Urbana-Champaign, Urbana, IL, USA
Abstract :
This paper describes a safe and efficient combination of the object-based message-driven execution and shared array parallel programming models. In particular, we demonstrate how this combination engenders the composition of loosely coupled parallel modules safely accessing a common shared array. That loose coupling enables both better flexibility in parallel execution and greater ease of implementing multi-physics simulations. As a case study, we describe how the parallelization of a new method for molecular dynamics simulation benefits from both of these advantages. We also describe a system of typed handle objects that embed some of the determinacy constraints of the Multiphase Shared Array programming model in the C++ type system, to catch some violations at compile time. The combined programming model communicates in terms of these handles as a natural means of detecting and preventing errors.
Keywords :
C++ language; message passing; parallel programming; program compilers; C++ type system; combined programming model; determinacy constraint; loosely coupled parallel module; message-driven parallel program; molecular dynamics simulation; multiphase shared array parallel programming model; multiphysics simulation; object-based message-driven execution; parallel execution; Arrays; Instruction sets; Message systems; Phased arrays; Programming; Runtime; Synchronization;
Conference_Titel :
Parallel and Distributed Processing Workshops and Phd Forum (IPDPSW), 2011 IEEE International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-1-61284-425-1
Electronic_ISBN :
1530-2075
DOI :
10.1109/IPDPS.2011.267