原口/日誌/2013-05-20
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[原口/日誌]]
**研究 [#d4047971]
***OpenMPIの文法的なものその2(簡単なまとめ、更に詳しくは昨日のpdfを参照) [#ye9df56e]
-MPI_Abort(com, errcode)
--MPIプロセスを異常終了する
-MPI_Wtime()
--時間計測用の関数だが精度はいまいち良くない
--time=MPI_Wtime();
-MPI_Wtick
--MPI_Wtimeでの時間計測精度
--ハード、コンパイラによって精度は異なる
--time=MPI_Wtick();
-MPI_Barrier(comm)
--commで指定されたグループに含まれるプロセスの同期をとる
--commないのスペ手のプロセスがこのサブルーチンを通らない限り次のステップには進まない
--デバッグ用途に用いられる
-MPI_Reduce(sendbuf, recvbuf, count, datatype, op, root, comm)
--comm内の各プロセスの送信バッファsendbufについて演算opを実地し、その結果を一つの受信プロセスrootの受信バッファrecbufに格納する
--総和、積、最大、最小など
-MPI_Bcast(buffer, count, datatype, root, comm)
--comm内の一つの送信元プロセスrootのバッファbufferからその他すべてのプロセスのバッファbufferにメッセージを送信
-MPI_Allreduce(sendbuf, recvbuf, count, datatype, op, comm)
--MPI_Reduce + MPI_Bcast
-MPI_Scatter(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, root, comm)
--comm内の一つの送信元プロセスrootnの送信バッファsendbufから各プロセスに先頭からscountずつのサイズのメッセージを送信し
その他すべてのプロセスの受信バッファrecvbufにサイズrcountのメッセージを格納
-MPI_Gather(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, root, comm)
--Scatterの逆バージョン
--rootを含む全プロセスで行われる
-MPI_Reduce_scatter(sendbuf, recvbuf, rcount, datatype, op, comm)
--MPI_Reduce+MPI_Scatter
-MPI_allgather(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, comm)
--MPI_Gather+MPI_Bcast
--GatherしたものをすべてのPEにBcastする(各プロセスで同じデータを持つことになる)
-MPI_Alltoall(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, comm)
--MPI_Allgatherのさらなる拡張:転置
-MPI_Scan(sendbuf, recvbuf, count, datatype, op, comm)
--プロセス上のデータのプレフィックス簡約を計算
-ちょうどいいサイトが見つかった
--http://phase.hpcc.jp/phase/mpi-j/ml/mpi-j-html/contents.html
--今週中に実際にコードを動かしたい
MPIで実装したSIFTの前例はあるんですかね…
----
#comment
終了行:
[[原口/日誌]]
**研究 [#d4047971]
***OpenMPIの文法的なものその2(簡単なまとめ、更に詳しくは昨日のpdfを参照) [#ye9df56e]
-MPI_Abort(com, errcode)
--MPIプロセスを異常終了する
-MPI_Wtime()
--時間計測用の関数だが精度はいまいち良くない
--time=MPI_Wtime();
-MPI_Wtick
--MPI_Wtimeでの時間計測精度
--ハード、コンパイラによって精度は異なる
--time=MPI_Wtick();
-MPI_Barrier(comm)
--commで指定されたグループに含まれるプロセスの同期をとる
--commないのスペ手のプロセスがこのサブルーチンを通らない限り次のステップには進まない
--デバッグ用途に用いられる
-MPI_Reduce(sendbuf, recvbuf, count, datatype, op, root, comm)
--comm内の各プロセスの送信バッファsendbufについて演算opを実地し、その結果を一つの受信プロセスrootの受信バッファrecbufに格納する
--総和、積、最大、最小など
-MPI_Bcast(buffer, count, datatype, root, comm)
--comm内の一つの送信元プロセスrootのバッファbufferからその他すべてのプロセスのバッファbufferにメッセージを送信
-MPI_Allreduce(sendbuf, recvbuf, count, datatype, op, comm)
--MPI_Reduce + MPI_Bcast
-MPI_Scatter(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, root, comm)
--comm内の一つの送信元プロセスrootnの送信バッファsendbufから各プロセスに先頭からscountずつのサイズのメッセージを送信し
その他すべてのプロセスの受信バッファrecvbufにサイズrcountのメッセージを格納
-MPI_Gather(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, root, comm)
--Scatterの逆バージョン
--rootを含む全プロセスで行われる
-MPI_Reduce_scatter(sendbuf, recvbuf, rcount, datatype, op, comm)
--MPI_Reduce+MPI_Scatter
-MPI_allgather(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, comm)
--MPI_Gather+MPI_Bcast
--GatherしたものをすべてのPEにBcastする(各プロセスで同じデータを持つことになる)
-MPI_Alltoall(sendbuf, scount, sendtype, recvbuf, rcount, recvtype, comm)
--MPI_Allgatherのさらなる拡張:転置
-MPI_Scan(sendbuf, recvbuf, count, datatype, op, comm)
--プロセス上のデータのプレフィックス簡約を計算
-ちょうどいいサイトが見つかった
--http://phase.hpcc.jp/phase/mpi-j/ml/mpi-j-html/contents.html
--今週中に実際にコードを動かしたい
MPIで実装したSIFTの前例はあるんですかね…
----
#comment
ページ名: