This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
自作クラスタ計算機:mpiによる並列計算 [2020/03/02 16:45] koudai [サンプルプログラム] |
自作クラスタ計算機:mpiによる並列計算 [2020/03/02 16:48] koudai [サンプルプログラム] |
||
---|---|---|---|
Line 48: | Line 48: | ||
MPI_Get_processor_name( name, &len ); | MPI_Get_processor_name( name, &len ); | ||
name[len] = ' | name[len] = ' | ||
+ | | ||
printf( "Hello World! I am %d of %d from %s.\n", | printf( "Hello World! I am %d of %d from %s.\n", | ||
- | MPI_Finalize(); | ||
+ | MPI_Finalize(); | ||
return 0; | return 0; | ||
} | } |