Back to search

The Ohio State University

System Support for Improving the Reliability of MPI Applications and Libraries

Abstract

dc:description

Although the Message Passing Interface (MPI) is widely used to develop parallel programs on computing systems such as clusters, MPI applications and libraries suffer from bugs. A recent survey of MPI users indicated that programmers had problems with different types of MPI errors such as non-deterministic errors and distributed operation ordering errors. Furthermore, the underlying MPI library implementations also suffer from software bugs. For example, more than 500 bug tickets are created for various versions of Open MPI each year. Similarly, about 350 bug tickets are reported for MPICH2 each year. These MPI bugs can severely affect the availability and productivity of MPI programs.This dissertation proposes runtime support to improve the reliability of MPI applications and libraries. Our approach is to build software tools using system methods including instrumentation-based profiling and runtime analysis to help detect software bugs in MPI applications and libraries. First, this dissertation proposes a method called FlowChecker to detect communication errors in MPI libraries. The main idea of FlowChecker is to extract program intentions of message passing and to check whether these intentions are fulfilled by the underlying MPI libraries, i.e., whether messages are delivered from the specified sources to the specified destinations. Second, this dissertation proposes another approach called SyncChecker to detect synchronization errors between MPI applications and libraries. SyncChecker tracks relevant memory accesses in the MPI applications and corresponding message send/receive operations in the MPI libraries. Then it checks whether the correct execution order between the MPI application and the MPI library is enforced by the MPI completion check routines. Finally, this dissertation proposes an approach called MC-Checker to detect memory consistency errors in MPI applications with one-sided communication. MC-Checker first performs online instrumentation and logs relevant runtime events such as MPI one-sided calls and local load/store operations to the trace files. Then MC-Checker performs offline analysis and checks the operations against compatibility tables to see whether there are memory consistency errors.We have designed and implemented software prototypes for the proposed methods and evaluated them with real-world and injected bugs on popular MPI libraries, including MPICH2, MVAPICH2, and Open MPI, and different MPI applications such as Athena and octopus. The experimental results show that the approaches proposed in this dissertation can effectively detect and locate bugs in MPI applications and libraries. They also provide useful diagnostic information to help programmers improve reliability of MPI applications and libraries. Furthermore, our tools incur low or moderate overhead which indicates that our tools are applicable for production runs or software testing phases. The results also demonstrate that the runtime support in these methods is very effective for improving the reliability of MPI applications and libraries.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer Science and Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2013

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Chen, Zhezhe
Advisor dc:contributor.advisor
  • Qin, Feng

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Chen, Zhezhe. System Support for Improving the Reliability of MPI Applications and Libraries. doctoral thesis, The Ohio State University, 2013. http://rave.ohiolink.edu/etdc/view?acc_num=osu1375880144