IOR测试的是并行文件系统,编译运行前必须先安装OpenMPI。
IB驱动安装请参考《HPC解决方案 基础环境搭建指导书》中“IB网卡驱动安装”。
mkdir /home/OpenMPI
cd /home/OpenMPI tar zxvf openmpi-4.0.1.tar.gz cd openmpi-4.0.1 mkdir build cd build ../configure --prefix=/home/OpenMPI --enable-pretty-print-stacktrace --enable-orterun-prefix-by-default --with-knem=/opt/knem-1.1.3.90mlnx1/ --with-mxm=/opt/mellanox/mxm/ --with-hcoll=/opt/mellanox/hcoll/ --with-cma --with-platform=../contrib/platform/mellanox/optimized make && make install
vi /root/.bashrc
或者
vi /etc/profile
MPI_HOME=/home/OpenMPI export PATH=${MPI_HOME}/bin:$PATH export LD_LIBRARY_PATH=${MPI_HOME}/lib:$LD_LIBRARY_PATH
source /root/.bashrc
或者
source /etc/profile