Skip to main content

Thread Communication over MPI

  • Conference paper
  • First Online:
Recent Advances in Parallel Virtual Machine and Message Passing Interface (EuroPVM/MPI 2000)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1908))

  • 414 Accesses

Abstract

This paper describes the implementation of a thread communication library on top of MPI. It allows light-weight threads to communicate with each other both locally between threads within the same process as well as globally between threads on different processors. The interface is similar to MPI with the use of thread identifiers instead of processor ranks.

Problems occur in the implementation of global communication operations. Due to limited tag space we are not able to specify source and target thread identifiers in a call to MPI-Recv. As a result we may receive messages from the wrong thread which has to be resolved explicitly.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Christina Boeres, Vinod E.F. Rebello, and David B. Skillicorn. Static scheduling using task replication for LogP and BSP models. In David Pritchard and Jeff Reeve, editors, EuroPar’98 Parallel Processing, 4th International Euro-Par Conference, Southampton, UK, September 1–4, 1998, Proceedings, volume 1470 of Lecture Notes in Computer Science, pages 337–346. Springer, September 1998.

    Chapter  Google Scholar 

  2. Malolan Chetlur, Girinda D. Sharma, Nael Abu-Ghazaleh, Umesh Kumar V. Rajasekaran, and Philip A. Wilsey. An active layer extension to MPI. In Vassil Alexandrov and Jack Dongarra, editors, Proceedings of Recent Advances in Parallel Virtual Machine and Message Passing Interface, 5th European PVM/MPI Users’ Group Meeting, Liverpool, UK, September 7–9, 1998 (EuroPVM/MPI’98), volume 1497 of Lecture Notes in Computer Science, pages 97–104. Springer Verlag, September 1998.

    Google Scholar 

  3. Message Passing Interface Forum. MPI-2: Extensions to the Message-Passing Interface. Technical report, University of Tennessee, Knoxville, Tenn., July 1997. ftp://ftp.mpi-forum.org/pub/docs/mpi-20.ps.

    Google Scholar 

  4. Thomas Frauenstein, Wolfgang Grieskamp, Peter Pepper, and Mario Südholt. Communicating functional agents and their application to graphical user interfaces. In Proceedings of the 2nd International Conference on Perspectives of System Informatics, Novosibirsk, LNCS. Springer Verlag, Jun 1996.

    Google Scholar 

  5. W. Gropp, E. Lusk, and A. Skellum. Using MPI: Portable Parallel Programming with the Message Passing Interface. MIT Press, 1995.

    Google Scholar 

  6. Thomas Nitsche. Skeleton implementations based on generic data distributions. In Christian Lengauer, editor, Proceedings of the Second International Workshop on Constructive Methods for Parallel Programming (CMPP 2000), July 2000.

    Google Scholar 

  7. Thomas Nitsche and Wolfram Webers. Functional message passing with OPAL-MPI. In Vassil Alexandrov and Jack Dongarra, editors, Proceedings of Recent Advances in Parallel Virtual Machine and Message Passing Interface, 5th European PVM/MPI Users’ Group Meeting, Liverpool, UK, September 7–9, 1998 (EuroPVM/MPI’98), volume 1497 of Lecture Notes in Computer Science, pages 281–288. Springer Verlag, September 1998.

    Chapter  Google Scholar 

  8. Mario Südholt. The Transformational Derivation of Parallel Programs using Data Distribution Algebras and Skeletons. PhD thesis, Fachgruppe Ubersetzerbau, Fachbereich Informatik, Technische Universität Berlin, August 1997.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Nitsche, T. (2000). Thread Communication over MPI. In: Dongarra, J., Kacsuk, P., Podhorszki, N. (eds) Recent Advances in Parallel Virtual Machine and Message Passing Interface. EuroPVM/MPI 2000. Lecture Notes in Computer Science, vol 1908. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45255-9_22

Download citation

  • DOI: https://doi.org/10.1007/3-540-45255-9_22

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-41010-2

  • Online ISBN: 978-3-540-45255-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics