开发者

Performance bechmarking of MPI program in C

开发者 https://www.devze.com 2022-12-25 07:51 出处:网络
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 beg

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

精彩评论

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

关注公众号