Intel MPI Benchmarks


Intel MPI Benchmarks
MPI通信效率评测工具,Intel MPI Benchmarks提供了一组符合MPI-1,MPI-2和MPI-3标准的基本基准,评估HPC集群在不同消息粒度下节点间点对点、全局通信的效率。

参考:https://software.intel.com/content/www/us/en/develop/documentation/imb-user-guide/top/getting-started/building-intel-mpi-benchmarks.html

 

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 指定运行时间

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM