PROBLEM TO BE SOLVED: To provide a method for automatically converting an MPI (Message Passing Infrastructure) source code program into an MPI thread-based program.;SOLUTION: In this method, in response to input of an MPI source code program and a command, a converter declares a global variable as a thread private variable to create a first private variable 212 for a first thread 210 and a second private variable 222 for a second thread 220. A library is identified to support converting processes to threads during execution of the MPI thread-based program. The identified library is used to build an executable version of the MPI thread-based program. A code in the identified library identifies instantiation of a new process when the MPI thread-based program is executing, and in response, causes a corresponding thread for the MPI thread-based program to be instantiated.;COPYRIGHT: (C)2011,JPO&INPIT
展开▼