1. 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.