Verification of MPI Java programs using software model checking

Waqas Ur Rehman, Muhammad Sohaib Ayub, Junaid Haroon Siddiqui

Research output: Chapter in Book or Conference Publication/ProceedingConference Publicationpeer-review

2 Citations (Scopus)

Abstract

Development of concurrent software requires the programmer to be aware of non-determinism, data races, and deadlocks. MPI (message passing interface) is a popular standard for writing message oriented distributed applications. Some messages in MPI systems can be processed by one of the many machines and in many possible orders. This non-determinism can affect the result of an MPI application. The alternate results may or may not be correct. To verify MPI applications, we need to check all these possible orderings and use an application specific oracle to decide if these orderings give correct output. MPJ Express is an open source Java implementation of the MPI standard.We developed a Java based model of MPJ Express, where processes are modeled as threads, and which can run unmodified MPI Java programs on a single system. This enabled us to adapt the Java PathFinder explicit state software model checker (JPF) using a custom listener to verify our model running real MPI Java programs. We evaluated our approach using small examples where model checking revealed message orders that would result in incorrect system behavior.

Original languageEnglish
Title of host publication21st ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPoPP 2016 - Proceedings
PublisherAssociation for Computing Machinery
ISBN (Electronic)9781450340922
DOIs
Publication statusPublished - 27 Feb 2016
Externally publishedYes
Event21st ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPoPP 2016 - Barcelona, Spain
Duration: 12 Mar 201616 Mar 2016

Publication series

NameProceedings of the ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPOPP
Volume12-16-March-2016

Conference

Conference21st ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPoPP 2016
Country/TerritorySpain
CityBarcelona
Period12/03/1616/03/16

Keywords

  • Java PathFinder(JPF)
  • Message Passing Interface in Java (MPJ)
  • Model Checking

Fingerprint

Dive into the research topics of 'Verification of MPI Java programs using software model checking'. Together they form a unique fingerprint.

Cite this