Parallel program debugging by specification

被引:0
|
作者
Huband, S [1 ]
McDonald, C [1 ]
机构
[1] Univ Western Australia, Sch Comp Sci & Software Engn, Crawley, WA 6009, Australia
来源
关键词
Message Passing Interface (MPI); debugging; process topologies; conformance testing;
D O I
10.1002/cpe.762
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Most message passing parallel programs employ logical process topologies with regular characteristics to support their computation. Since process topologies define the relationship between processes, they present an excellent opportunity for debugging. The primary benefit is that process behaviours can be correlated, allowing expected behaviour to be abstracted and identified, and undesirable behaviour reported. However, topology support is inadequate in most message passing parallel programming environments, including the popular Message Passing Interface (MPI) and the Parallel Virtual Machine (PVM). Programmers are forced to implement topology support themselves, increasing the possibility of introducing errors. This paper proposes a trace- and topology-based approach to parallel program debugging, driven by four distinct types of specifications. Trace specifications allow trace data from a variety of sources and message passing libraries to be interpreted in an abstract manner, and topology specifications address the lack of explicit topology knowledge, whilst also facilitating the construction of user-consistent views of the debugging activity. Loop specifications express topology-consistent patterns of expected trace events, allowing conformance testing of associated trace data, and error specifications specify undesirable event interactions, including mismatched message sizes and mismatched communication pairs. Both loop and error specifications are simplified by having knowledge of the actual topologies being debugged. The proposed debugging framework enables a wealth of potential debugging views and techniques. Copyright (C) 2004 John Wiley Sons, Ltd.
引用
收藏
页码:551 / 585
页数:35
相关论文
共 50 条
  • [31] Specification-Guided Automated Debugging of CPS Models
    Singh, Nikhil Kumar
    Saha, Indranil
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2020, 39 (11) : 4142 - 4153
  • [32] PROGRAM DEBUGGING SYSTEM.
    Flanagan, H.W.
    IBM Technical Disclosure Bulletin, 1973, 16 (07): : 2322 - 2329
  • [33] SYMBOLIC PROGRAM DEBUGGING.
    Duyck, Bob
    Hawkins, Doug
    Conference Record - Midcon, 1980,
  • [34] A formal semantics for program debugging
    LI Wei1&LI Ning1
    Science China(Information Sciences), 2012, 55 (01) : 133 - 148
  • [35] PROGRAM RELIABILITY DURING DEBUGGING
    SHABALIN, AN
    PROGRAMMING AND COMPUTER SOFTWARE, 1986, 12 (01) : 50 - 53
  • [36] Visual steering for program debugging
    Erbacher, RF
    VISUAL DATA EXPLORATION AND ANALYSIS VII, 2000, 3960 : 106 - 113
  • [37] A formal semantics for program debugging
    Wei Li
    Ning Li
    Science China Information Sciences, 2012, 55 : 133 - 148
  • [38] A formal semantics for program debugging
    Li Wei
    Li Ning
    SCIENCE CHINA-INFORMATION SCIENCES, 2012, 55 (01) : 133 - 148
  • [39] Metric Interval Temporal Logic Specification Elicitation and Debugging
    Dokhanchi, Adel
    Hoxha, Bardh
    Fainekos, Georgios
    2015 ACM/IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR CODESIGN (MEMOCODE), 2015, : 70 - 79
  • [40] Special issue on program debugging
    Ghosh, Sudipto
    Li, J. Jenny
    SOFTWARE QUALITY JOURNAL, 2017, 25 (01) : 3 - 5