不知道你说的mpi是指的哪个,用yum list mpi* 可以看到有下列可用的packages,选择自己需要的安装就可以
如:yum install mpich*
[root@AY131206100841575623Z /]# yum list mpi*
Loaded plugins: fastestmirror, security
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Available Packages
mpich.x86_64 3.1-4.el6 base
mpich-autoload.x86_64 3.1-4.el6 base
mpich-devel.x86_64 3.1-4.el6 base
mpich-doc.noarch 3.1-4.el6 base
mpich2.x86_64 1.2.1-2.3.el6 base
mpich2-devel.x86_64 1.2.1-2.3.el6 base
mpich2-doc.noarch 1.2.1-2.3.el6 base
mpitests-mpich.x86_64 3.2.4-2.el6 base
mpitests-mvapich.x86_64 3.2.4-2.el6 base
mpitests-mvapich-psm.x86_64 3.2.4-2.el6 base
mpitests-mvapich2.x86_64 3.2.4-2.el6 base
mpitests-mvapich2-psm.x86_64 3.2.4-2.el6 base
mpitests-openmpi.x86_64 3.2.4-2.el6