#author("2018-11-16T13:09:44+09:00","","") #author("2018-11-16T13:12:04+09:00","","") [[卒論]] ***数値実験の準備 [#n6434c61] ***サンプルコード(hellow.c)の実行 [#xd291cf1] #include <stdio.h> #include "mpi.h" int main( int argc, char *argv[] ) { int rank; int size; MPI_Init( 0, 0 ); MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Comm_size(MPI_COMM_WORLD, &size); printf( "Hello world from process %d of %d\n", rank, size ); MPI_Finalize(); return 0; }