在分布式存储系统上.MPI已被证实是理想的并行程序设计模型。MPI是基于消息传递的并行编程模型,进程间的通信是通过调用库函数来实现的,因此MPI并行程序中,通信部分代码的效率对该并行程序的性能有直接的影响。通过用集群通信函数替代点对点通信函数以及通过派生数据类型和建立新通信域这两种方式.两次改进DNS的MPI并行程序实现。并通过实验给出一个优化MPI并行程序的一般思路与方法。
MPI is an ideal parallel programming model which has been confirmed on distributed storage system. Because MPI is based on message passing and adopts the method of message passing to realize the communication between every node, the performance of MPI parallel program is deeply depended on the efficiency of communication. By using the cluster communication to replace the peer to peer communication function and using the derived datatype to create new communication domain, puts forward a common method of optimizing MPI parallel program via the experiment on improving on the MPI parallel program of DNS twice and advancing the performauce of it.