首页 | 本学科首页   官方微博 | 高级检索  
     

MPI程序中通信原语转换方法研究
引用本文:贾明飞,董渭清,黄泳翔.MPI程序中通信原语转换方法研究[J].计算机应用,2002,22(11):30-33.
作者姓名:贾明飞  董渭清  黄泳翔
作者单位:西安交通大学,计算机科学与技术系,陕西,西安,710049
摘    要:在当前存在的大量非结构化MPI程序中,许多基于点对点通信原语的代码段可以替换为相应的结构化集合通信原语,在MPI代码结构分析的基础上提出了一种MPI程序中点对点通信原语到集合通信原语转换的方法,首先分析非结构化MPI代码的内部结构,建立Diophantine不等式系统,然后用Omega库运算得到点对点通信代码段的通信模式集,再辅以数据交换分析确定对应的集合通信原语并替换,并给出了相应的实例分析。

关 键 词:MPI程序  通信原语转换  结构化并行编程  并行优化  程序重构  消息传递接口
文章编号:1001-9081(2002)11-0030-04
修稿时间:2002年7月31日

METHODS FOR COMMUNICATION PRIMITIVE TRANSFORMATION IN MPI PROGRAMS
JIA Ming-fei,DONG Wei-qing,HUANG Yong-xiang.METHODS FOR COMMUNICATION PRIMITIVE TRANSFORMATION IN MPI PROGRAMS[J].journal of Computer Applications,2002,22(11):30-33.
Authors:JIA Ming-fei  DONG Wei-qing  HUANG Yong-xiang
Abstract:In current abundant nonstructural MPI programs, many segments of codes based on point-to-point primitives can be replaced by the corresponding structural collective primitives. In this paper, we present a method for transforming point-to-point primitives into collective primitives in MPI programs based on the analysis of code structure, and give a concrete example. First, we analyze the internal structure of nonstructural message passing parallel codes and build the system of Diophantine inequality. Then we get the communication model set corresponding to point-to-point communication codes by Omega library. Finally, we use the set with data exchange analysis to decide the appropriate collective primitives and replace the point-to-point primitives with them.
Keywords:MPI  primitive transformation  collective communication  parallel optimization  program restructuring  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号