Skip to main navigation Skip to search Skip to main content

MPI Finally Needs to Deal with Threads

  • RWTH Aachen University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

1 Scopus citations

Abstract

The Message Passing Interface (MPI) standard has long been a cornerstone of parallel computing, enabling multi-threaded processes to communicate effectively. However, integrating multi-threading with MPI is not as straightforward as it might seem. MPI must function optimally in a multi-threaded environment, which requires robust thread support. The description provided by MPI about how multiple application threads may interact with MPI forms a contract for guarantees that applications can rely on and that implementations must provide, and vice versa. We find that the definitions regarding multi-threaded behavior provided by MPI are imprecise, which leads to differing interpretations and potential over- or undercommitment of computational resources in order to provide their perceived semantics. We provide an analysis of relevant parts of the MPI standard dealing with multi-threading and provide proposals for definitions of concurrency, conflicts, and race conditions, which we hope will clarify the guarantees that are part of the contract between MPI multi-threaded applications and implementations.

Original languageEnglish
Title of host publicationRecent Advances in the Message Passing Interface - 32nd European MPI Users' Group Meeting, EuroMPI 2025, Proceedings
EditorsJoseph Schuchart, Aurelien Bouteiller, Sascha Hunold, Julien Jaeger, Christoph Niethammer, Brian Smith
PublisherSpringer Science and Business Media Deutschland GmbH
Pages89-105
Number of pages17
ISBN (Print)9783032071934
DOIs
StatePublished - 2026
Event32nd European MPI Users Group Meeting, EuroMPI 2025 - Charlotte, United States
Duration: Oct 1 2025 → Oct 3 2025

Publication series

NameLecture Notes in Computer Science
Volume15977 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference32nd European MPI Users Group Meeting, EuroMPI 2025
Country/TerritoryUnited States
CityCharlotte
Period10/1/25 → 10/3/25

Fingerprint

Dive into the research topics of 'MPI Finally Needs to Deal with Threads'. Together they form a unique fingerprint.

Cite this