Detecting Nondeterminacy in Parallel Programs

  • Authors:
  • Perry A. Emrath;Sanjoy Ghosh;David A. Padua

  • Affiliations:
  • -;-;-

  • Venue:
  • IEEE Software
  • Year:
  • 1992

Quantified Score

Hi-index 0.00

Visualization

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.