开发者

Performance bechmarking of MPI program in C

I am new to MPI.Can anyone please suggest me how to do benchmarking of MPI programs in C. Cluster I am using is run开发者_高级运维ning Rocks 4.3(Mars Hill).


You could put an MPI_Barrier call at the beginning of the program, and then have each process record the time since the epoch and compare the final time-since-epoch with that at the end...


Here are some parts of the answer, focussing on execution time:

  • Familiarise yourself with the MPI_WTIME function.
  • Have a poke around the Top 500 and see what they do about benchmarking. This might spark some ideas.
  • Plan to compare execution time for: serial program, MPI program running on one processor, MPI program running on N processors (for a range of Ns). Much benchmarking of parallel programs is about assessing their parallel scalability.

There's lots more, refine your question and you might get more apposite answers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜