Deadlock Detection in Basic Models of MPI Synchronization Communication Programs
Ming-xue Liao, Zhi-hua Fan

TL;DR
This paper introduces formal models and methods for static and runtime deadlock detection in MPI synchronization programs, providing a foundation for improving deadlock detection efficiency and correctness.
Contribution
It presents three simplified MPI deadlock models, proves theorems for deadlock detection, and offers methods that enable deadlock detection before program execution.
Findings
Methods can determine deadlocks before compilation for two models.
Some deadlocks can be detected before compilation and others at runtime.
Theorems can validate existing MPI deadlock detection algorithms.
Abstract
A model of MPI synchronization communication programs is presented and its three basic simplified models are also defined. A series of theorems and methods for deciding whether deadlocks will occur among the three models are given and proved strictly. These theories and methods for simple models' deadlock detection are the necessary base for real MPI program deadlock detection. The methods are based on a static analysis through programs and with runtime detection in necessary cases and they are able to determine before compiling whether it will be deadlocked for two of the three basic models. For another model, some deadlock cases can be found before compiling and others at runtime. Our theorems can be used to prove the correctness of currently popular MPI program deadlock detection algorithms. Our methods may decrease codes that those algorithms need to change to MPI source or…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Embedded Systems Design Techniques · Interconnection Networks and Systems
