A

On-the-Fly Data Race Detection for MPI RMA Programs with MUST

Abstract

MPI Remote Memory Access (RMA) provides a one-sided communication model for MPI applications. Ensuring consistency between RMA operations with synchronization calls is a key requirement when writing correct RMA codes. Wrong API usage may lead to concurrent modifications of the same memory location without proper synchronization resulting in data races across processes. Due to their non-deterministic nature, such data races are hard to detect. This paper presents MUST-RMA, an on-the-fly data race detector for MPI RMA applications. MUST-RMA uses a race detection model based on happened-before and consistency analysis. It combines the MPI correctness tool MUST with the race detector ThreadSanitizer to detect races across processes in RMA applications. A classification quality study on MUST-RMA with different test cases shows a precision and recall of 0.95. An overhead study on a stencil and a matrix transpose kernel shows runtime slowdowns of 3x to 20x for up to 192 processes.

Authors 5

  1. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Chair for High Performance Computing, IT Center,Aachen,Germany

    Chair for High Performance Computing, IT Center, RWTH Aachen University, Aachen, Germany

  2. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Chair for High Performance Computing, IT Center,Aachen,Germany

    Chair for High Performance Computing, IT Center, RWTH Aachen University, Aachen, Germany

  3. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Chair for High Performance Computing, IT Center,Aachen,Germany

    Chair for High Performance Computing, IT Center, RWTH Aachen University, Aachen, Germany

  4. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Chair for High Performance Computing, IT Center,Aachen,Germany

    Chair for High Performance Computing, IT Center, RWTH Aachen University, Aachen, Germany

  5. RWTH Aachen University

    Affiliation as printed

    RWTH Aachen University,Chair for High Performance Computing, IT Center,Aachen,Germany

    Chair for High Performance Computing, IT Center, RWTH Aachen University, Aachen, Germany

Cited by 12 stored of 12

12 results

No patents citing this paper on Lens.org (checked 2026-10-06).

References 20

20 results