摘要
消息传递方式是广泛应用于一些并行机,特别是分布存储并行机的一种模式。PVM(ParallelVirtualMachine)和MPI(MessagePassingInterface)都是目前是广受欢迎的基于消息传递的并行程序库,其中PVM的消息传递接口,因其简单性,而没有给用户最大的灵活性以实现最佳的性能:为此,消息传递标准的讨论会工作组制定了消息传递接口MPI标准,为PVM实现最佳性能提供了可能。该文通过对PVM和MPI的比较,指出了从PVM应用移植到MPI应用时有利的方面和潜在的缺陷。如果一个应用程序能避开这些缺陷的影响,那么它就能够从移植中提高通信的性能,从而提高其分布式计算的性能。
Message passing is a kind of model widely used in some parallel machine,especially those distributememory parallel machine. PVM and MPl are libraries for message passing parallel programming which are now wellknown. PVM's message passing interface, due to its simplicity, does not give the users maximun flexibility to achieve the best performance. The committee of the MPI Forum defines a set of library interface standard which give PVM a chance to achieve the best performance.This paper compares the primarydifferences between PVM and MPI,then points out benefits and potential pitfalls of migration.If yourapplication is not susceptibel to these pitfalls and benefit from the improved communication performance MPI affords, then porting to MPI may well be worth your while.
出处
《计算机工程与应用》
CSCD
北大核心
1999年第3期27-29,共3页
Computer Engineering and Applications
关键词
消息传递
软件移植
PVM
MPI
PVM,MPI,Heterogeneous computing,Message passing,Porting