首页> 外国专利> Method and apparatus for debugging parallel programs by serialization

Method and apparatus for debugging parallel programs by serialization

机译:通过序列化调试并行程序的方法和装置

摘要

A serialization debugging facility operates by assisting the computer programmer in the selection of parallel sections of the parallel program for single processor execution in order to locate errors in the program. Information is collected regarding parallel constructs in the source program. This information is used to establish program structure and to locate sections of the program in which parallel constructs are contained. Program structure and the locations of parallel constructs within a program are then displayed as a tree graph. Viewing this display, a programmer selects parallel sections for serialization. Object code for the program is then generated in accordance with the serialization instructions entered by the programmer. Once executed, the programmer can compare the results of execution of parallel sections of the program in a single processor and a multiprocessor environment. Differing execution results in each environment is indicative of a parallel programming error which can then be corrected by the programmer. The programmer can repeat these steps, each time selecting different sections of the program for serialization. In this way, erroneous sections of the program can be localized and identified.
机译:串行化调试工具通过协助计算机程序员选择用于单个处理器执行的并行程序的并行部分来运行,以便在程序中定位错误。收集有关源程序中并行构造的信息。此信息用于建立程序结构并查找包含并行构造的程序部分。然后,程序结构和程序中并行构造的位置将显示为树形图。查看此显示,程序员选择并行部分进行序列化。然后根据程序员输入的序列化指令生成程序的目标代码。一旦执行,程序员就可以在单处理器和多处理器环境中比较程序并行部分的执行结果。每个环境中不同的执行结果表示并行编程错误,程序员可以随后纠正该错误。程序员每次选择程序的不同部分进行序列化时,都可以重复这些步骤。这样,可以定位和识别程序的错误部分。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号