下载mpich-3.3.2.tar.gz,存放到/home/share/下:

mkdir /home/software

cd /home/share/
tar -zxf mpich-3.3.2.tar.gz
cd mpich-3.3.2
yum -y install libstdc++ libstdc++-devel libstdc++-static glibc glibc-devel glibc-static  libgcc gcc-c++ libXScrnSaver gtk3 gtk2 pango libxml2-devel openssl-devel gcc gcc-c++ boost-devel libtool gcc-gfortran dejagnu texinfo
./configure --prefix=/home/software/mpich-3.3
make -j4 && make install

12-26 13:30