MPI + MPI: A New Hybrid Approach to Parallel Programming with MPI Plus Shared Memory

TitleMPI + MPI: A New Hybrid Approach to Parallel Programming with MPI Plus Shared Memory
Publication TypeJournal Article
Year of Publication2013
AuthorsHoefler, T, Dinan, J, Buntinas, D, Balaji, P, Barrett, B, Brightwell, R, Gropp, WD, Kale, V, Thakur, R
JournalComputing
Volume95
Pagination1121-1136
Other NumbersANL/MCS-P4088-0613
Abstract

Hybrid parallel programming with the Message Passing Interface (MPI) for internode communication in conjunction with a shared-memory programming model to manage intranode parallelism has become a dominant approach to scalable parallel programming. While this model provides a great deal of flexibility and performance potential, it saddles programmers with the complexity of utilizing two parallel programming systems in the same application. We introduce an MPI-integrated shared-memory programming model that is incorporated into MPI through a small extension to the one-sided communication interface. We discuss the integration of this interface with the MPI 3.0 one-sided semantics and describe solutions for providing portable and efficient data sharing, atomic operations, and memory consistency. We describe an implementation of the new interface in the MPICH2 and Open MPI implementations and demonstrate an average performance improvement of 40% to the communication component of a five-point stencil solver.

DOI10.1007/s00607-013-0324-2
PDFhttp://www.mcs.anl.gov/papers/P4088-0613.pdf