Title :
Detecting nondeterminacy in parallel programs
Author :
Emrath, Perry A. ; Ghosh, Sanjoy ; Padua, David A.
Author_Institution :
Illinois Univ., Urbana, IL, USA
Abstract :
Methods and tools for detecting nondeterminacy in programs for shared-memory multiprocessors are discussed. The approach described divides the debugging chore into two phases. The first phase uses tools that automatically detect nondeterminacy to debug synchronization errors, assuming it is decided at the outset to make the parallel program determinate. At the end of this phase, it is known that the program is determinate, that timing differences will not affect results, and the debugging sessions are repeatable. In the second phase, an interactive break-point debugger is used to find arithmetic and logical errors. The proposed tools fall into two groups: those that statically analyze the source program and those that analyze an execution trace of the program.<>
Keywords :
parallel programming; program debugging; synchronisation; arithmetic and logical errors; debugging; interactive break-point debugger; nondeterminacy detection; parallel programs; shared-memory multiprocessors; source program; synchronization errors; timing differences; Acceleration; Debugging; Operating systems; Parallel programming; Process control; Programming profession; Real time systems; Throughput;
Journal_Title :
Software, IEEE