数値実験
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
[[卒論]]
***数値実験の準備 [#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,...
MPI_Finalize();
return 0;
}
終了行:
[[卒論]]
***数値実験の準備 [#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,...
MPI_Finalize();
return 0;
}
ページ名: