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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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.
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.
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.
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.
W. Gropp, E. Lusk, and A. Skellum. Using MPI: Portable Parallel Programming with the Message Passing Interface. MIT Press, 1995.
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.
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.
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.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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