Intel MPI Benchmarks
MPI通信效率評測工具,Intel MPI Benchmarks提供了一組符合MPI-1,MPI-2和MPI-3標准的基本基准,評估HPC集群在不同消息粒度下節點間點對點、全局通信的效率。
1、配置Intel編譯器
配置Intel編譯器環境
# source <intel_compiler_dir>/bin/compilervars.sh intel64
配置Intel MPI環境
# source <intel_mpi_dir>/intel64/bin/mpivars.sh intel64
2、安裝Intel MPI Benchmarks
# git clone https://github.com/intel/mpi-benchmarks.git # cd mpi-benchmarks/src_c # make all
3、運行IMB測試
單節點測試
# mpirun -np 2 ./IMB-MPI1 pingpong
多節點測試
# mpirun -genv I_MPI_DEBUG 5 -np 2 -ppn 1 -host <node0>,<node1> ./IMB-MPI1 pingpong
輸出的測試結果中,第三列"t[usec]"是MPI時延結果,第四列"Mbytes/sec"是MPI帶寬測試結果
IMB常用參數
-iter 指定迭代次數
-time 指定運行時間