METHODS FOR COMMUNICATION PRIMITIVE TRANSFORMATION IN MPI PROGRAMS

贾明飞,董渭清,黄泳翔
2002-01-01
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.
What problem does this paper attempt to address?