SC20 Proceedings

The International Conference for High Performance Computing, Networking, Storage, and Analysis

Implementing Flexible Threading Support in Open MPI

Workshop:ExaMPI: Workshop on Exascale MPI

Authors: Noah Evans, Jan Ciesko, and Stephen L. Olivier (Sandia National Laboratories); Howard Pritchard (Los Alamos National Laboratory); and Shintaro Iwasaki, Ken Raffenetti, and Pavan Balaji (Argonne National Laboratory (ANL))

Abstract: Multithreaded MPI applications are gaining popularity in scientific and high-performance computing. While the combination of programming models is suited to support current parallel hardware, it moves threading models and their interaction with MPI into focus. With the advent of new threading libraries, the flexibility to select threading implementations of choice is becoming an important usability feature. Open MPI has traditionally avoided componentizing its threading model, relying on code inlining and static initialization to minimize potential impacts on runtime fast paths and synchronization. This paper describes the implementation of a generic threading runtime support in Open MPI using the Opal Modular Component Architecture. This architecture allows the programmer to select a threading library at compile- or run-time, providing both static initialization of threading primitives as well as dynamic instantiation of threading objects. In this work, we present the implementation, define required interfaces and discuss trade-offs of dynamic and static initialization.

Back to ExaMPI: Workshop on Exascale MPI Archive Listing

Back to Full Workshop Archive Listing