Skip to main content
  • 985 Accesses

Abstract

This chapter explains the basics of parallel programming and MPI (Message Passing Interface). To understand MPI, parallel computer architectures and parallel programing models are explained in the first chapter. APIs (Application Programming Interfaces) of MPI are shown with examples of MPI programming. Several key topics, such as data distribution methods and communication algorithms for MPI programming are also explained.

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 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    On the other hand, using large memory is another reason to parallelize a program by using distributed memory machines.

  2. 2.

    But the communication can be parallelized with respect to algorithm. Explanation of this kind of parallelization will be done in this chapter.

References

  1. Message Passing Interface Forum. http://www.mpi-forum.org/

  2. P.S. Pacheco, Parallel Programming with MPI (Morgan Kaufmann, Burlington, 1996)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Takahiro Katagiri .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Katagiri, T. (2019). Basics of MPI Programming. In: Geshi, M. (eds) The Art of High Performance Computing for Computational Science, Vol. 1. Springer, Singapore. https://doi.org/10.1007/978-981-13-6194-4_2

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-6194-4_2

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-6193-7

  • Online ISBN: 978-981-13-6194-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics