Skip to main content

Message-Passing Programming

  • Chapter
  • First Online:
Parallel Programming
  • 3765 Accesses

The message-passing programming model is based on the abstraction of a parallel computer with a distributed address space where each processor has a local memory to which it has exclusive access, see Sect. 2.3.1. There is no global memory. Data exchange must be performed by message-passing: To transfer data from the local memory of one processor A to the local memory of another processor B, A must send a message containing the data to B, and B must receive the data in a buffer in its local memory. To guarantee portability of programs, no assumptions on the topology of the interconnection network is made. Instead, it is assumed that each processor can send a message to any other processor.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Reference

  1. Message Passing Interface Forum. MPI: A Message-Passing Interface Standard, Version 1.3. www.mpi-forum.org, 2008.

  2. Message Passing Interface Forum. MPI: A Message-Passing Interface Standard, Version 2.1. www.mpi-forum.org, 2008.

  3. A. Geist, A. Beguelin, J. Dongarra, W. Jiang, R. Manchek, and V. Sunderam. PVM Parallel Virtual Machine: A User’s Guide and Tutorial for Networked Parallel Computing. MIT Press, Cambridge, 1996. Web page: www.netlib.org/pvm3/book/pvm book.html.

  4. P.S. Pacheco. Parallel Programming with MPI. Morgan Kaufmann, San Francisco, 1997.

    MATH  Google Scholar 

  5. M. Snir, S. Otto, S. Huss-Ledermann, D. Walker, and J. Dongarra. MPI: The Complete Reference. MIT Press, Cambridge, 1996. Web page: www.netlib.org/utk/papers/mpibook/mpibook.html.

  6. M. Snir, S. Otto, S. Huss-Ledermann, D. Walker, and J. Dongarra. MPI: The Complete Reference, Vol. 1: The MPI Core. MIT Press, Cambridge, 1998. Web page: mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=4579.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Thomas Rauber .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Rauber, T., Rünger, G. (2010). Message-Passing Programming. In: Parallel Programming. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-04818-0_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-04818-0_5

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-04817-3

  • Online ISBN: 978-3-642-04818-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics