According to the first method, for parallel execution of an application program, a programmer considers beforehand conditions such as the number or location of processors, the type or amount of data to be allocated to each processor, and the type of calculation executed in each processor, and writes a program based on the considered conditions.