#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;
 }


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS