Thread Communication over MPI

  • Authors:
  • Thomas Nitsche

  • Affiliations:
  • -

  • Venue:
  • Proceedings of the 7th European PVM/MPI Users' Group Meeting on Recent Advances in Parallel Virtual Machine and Message Passing Interface
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

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.