KIT | KIT-Bibliothek | Impressum | Datenschutz

Concepts in Practice: C++ MPI Bindings for the HPC Ecosystem : From a Standardizable Core to a Composable Interface

Uhl, Tim Niklas ORCID iD icon 1; Schimek, Matthias ORCID iD icon 1; Brommer, Daniel
1 Institut für Theoretische Informatik (ITI), Karlsruher Institut für Technologie (KIT)

Abstract:

The official C++ MPI bindings were removed from the standard in 2008, leaving a gap that numerous third-party libraries have attempted to fill. However, existing wrappers typically cover only a limited subset of MPI or target specific use cases, falling short of a general-purpose solution. A recent conceptual paper proposed general design principles for modern C++ bindings based on C++20 concepts, without committing to a concrete interface.

We present the first concrete realization of these principles in a layered architecture. At the foundation, we define a core layer: refined C++20 concepts formalizing the MPI standard’s notion of data buffers, automatic mapping of standard C++ constructs, non-intrusive customization points for third-party types, and concept-based wrappers for MPI procedures. The result is a low-level native C++ MPI interface that works directly with STL containers, is highly extensible, and lends itself to standardization. Built on this core, we present KaMPIng-v2—a C++ MPI library offering the convenience and memory-safety of KaMPIng with composable, pipe-based syntax inspired by C++ ranges for efficient, boilerplate-free MPI programming. ... mehr


Preprint §
DOI: 10.5445/IR/1000198276
Veröffentlicht am 22.10.2026
Postprint §
DOI: 10.5445/IR/1000198276/post
Frei zugänglich ab 08.10.2027
Originalveröffentlichung
DOI: 10.1007/978-3-032-40777-1_2
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Theoretische Informatik (ITI)
Publikationstyp Proceedingsbeitrag
Publikationsjahr 2027
Sprache Englisch
Identifikator ISBN: 978-3-032-40776-4
ISSN: 0302-9743
KITopen-ID: 1000198276
HGF-Programm 46.21.02 (POF IV, LK 01) Cross-Domain ATMLs and Research Groups
Erschienen in Recent Advances in the Message Passing Interface : 33rd European MPI Users' Group Meeting, EuroMPI 2026, Vienna, Austria, October 7–9, 2026, Proceedings. Ed.: C. Niethammer
Veranstaltung 33rd European MPI Users' Group Meeting (EuroMPI 2026), Wien, Österreich, 07.10.2026 – 09.10.2026
Verlag Springer Nature Switzerland
Seiten 20–38
Serie Lecture Notes in Computer Science ; 16979
Vorab online veröffentlicht am 07.10.2026
Nachgewiesen in OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page