Copyright Notice:

The documents distributed by this server have been provided by the contributing authors as a means to ensure timely dissemination of scholarly and technical work on a noncommercial basis. Copyright and all rights therein are maintained by the authors or by other copyright holders, notwithstanding that they have offered their works here electronically. It is understood that all persons copying this information will adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.

Publications of SPCL

T. Hoefler, J. Dinan, D. Buntinas, P. Balaji, B. Barrett, R. Brightwell, W. Gropp, V. Kale, R. Thakur:

 MPI + MPI: a new hybrid approach to parallel programming with MPI plus shared memory

(Journal of Computing. Vol , Nr. , In , presented in , pages , Springer, ISSN: , ISBN: , May 2013, doi: 10.1007/s00607-013-0324-2 )

Publisher Reference


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.


download article:
download slides:


  author={Torsten Hoefler and J. Dinan and D. Buntinas and P. Balaji and Brian Barrett and Ron Brightwell and William Gropp and V. Kale and Rajeev Thakur},
  title={{MPI + MPI: a new hybrid approach to parallel programming with MPI plus shared memory}},
  journal={Journal of Computing},
  note={doi: 10.1007/s00607-013-0324-2},