查看mpi安装包
yum list mpi*
安装mpi
yum install mpich2*
配置环境变量
cd ~
vi .bashrc
在最后面加上以下两句
export MPI_HOME=/usr/lib64/mpichexport PATH=$MPI_HOME/bin:$PATH