并行化或不并行化,
To parallelize or not to parallelize, bugs issue
摘要:
程序正确性是并行编程中最困难的挑战之一。消息传递接口MPI被广泛用于编写并行应用程序。由于MPI不是一种编译语言,程序员在编写MPI程序时会遇到一些编程错误,本文介绍了MPI程序中最常见的编程错误,以帮助程序员在并行性的优点和检测和修复这些错误所需的额外工作之间进行折衷。一个代数规格的MPI类程序设计语言,称为简单MPI(SMPI),用于编写MPI程序规范也已提出。此外,SMPI程序中的不确定性和死锁现象也在Maud系统中得到了验证。
英文摘要:
Program correctness is one of the most difficult challenges in parallel programming. Message Passing Interface MPI is widely used in writing parallel applications. Since MPI is not a compiled language, the programmer will be enfaced with several programming bugs.This paper presents the most common programming bugs arise in MPI programs to help the programmer to compromise between the advantage of parallelism and the extra effort needed to detect and fix such bugs. An algebraic specification of an MPI-like programming language, called Simple MPI (SMPI), to be used in writing MPI programs specification has also been proposed. In addition, both nondeterminacy and deadlocks arise in SMPI programs have been verified using Maud system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。