Patent ID: 6751791
Filing Date: 2004-06-15
Classification: G06F

Abstract:
An optimization method at the time of compiling a program that employs an MPI, comprising the steps of:detecting an MPI procedure invocation portion within a received source program; altering the detected MPI procedure invocation portion to another procedure or altering the execution sequence to perform optimization of said MPI procedure wherein said step of altering the execution sequence to perform optimization of an MPI procedure includes steps of: detecting a synchronous communication MPI procedure invocation; analyzing statements preceding and following a statement of said MPI procedure invocation; if the analysis shows that there is an execution statement including only data that have no relation to communication data, and if movement of the statement causes no change in the meaning of the program, moving the execution sequence of said execution statement to follow the MPI procedure; inserting a communication waiting procedure after a list of said execution statement; and outputting an object program in which said MPI procedure has been altered to an asynchronous communication procedure.