A graph based approach for MPI deadlock detection
Open Access
- 8 June 2009
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 296-305
Abstract
The MPI standard defines several usage patterns that can lead to deadlock, some of which involve collective communications or non-deterministic operations such as wildcard receives. Further, some MPI programming deadlocks only occur for some MPI implementations or certain configurations. Many tools to detect MPI deadlocks exist; however, none precisely handles the increased complexity of deadlock detection created by the richness of the MPI standard, which requires a general deadlock model. We present the first general deadlock model for MPI including a novel necessary and sufficient criterion, the OR-Knot, for deadlock in MPI programs. This model enables visualization of MPI deadlocks and motivates the design of a new deadlock detection mechanism. We compare our implementation of this mechanism to the ad-hoc mechanism previously available in Umpire, which reflected MPI non-determinism and, thus, more completely detected MPI deadlocks than any other existing MPI deadlock detection tool. Overall, our results demonstrate that our mechanism improves performance by as much as two orders of magnitude while providing precise characterization of deadlocks.Keywords
This publication has 7 references indexed in Scilit:
- Implementing Efficient Dynamic Formal Verification Methods for MPI Programs2008
- P
N
MPI tools2007
- Concurrent Deadlock Detection In Parallel ProgramsInternational Journal of Computers and Applications, 2006
- Fast, centralized detection and resolution of distributed deadlocks in the generalized modelIEEE Transactions on Software Engineering, 2004
- Deadlock detection in MPI programsConcurrency and Computation: Practice and Experience, 2002
- Toward Scalable Performance Visualization with JumpshotThe International Journal of High Performance Computing Applications, 1999
- Deadlock detection in distributed systemsComputer, 1989