cd /home/share/
tar -zxf hydra-3.3.2.tar.gz
cd hydra-3.3.2/
./configure
make -j2 && make install
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
#source /home/software/intel/bin/compilervars.sh intel64
#./configure --prefix=/home/software/mpich-3.3 CC=icc CXX=icpc FC=ifort F77=ifort --with-pm=hydra
make -j2 && make install
cd /home/share/
rm -rf mpich* hydra*
vi /home/software/modules/mpich
-
#%Module1.0
-
-
set MPICH /home/software/mpich-3.3
-
prepend-path PATH ${MPICH}/bin
-
prepend-path LD_LIBRARY_PATH ${MPICH}/lib
-
prepend-path INCLUDE ${MPICH}/include
module add mpich
mpirun -n 4 /home/share/mpich-3.3.2/examples/cpi
module purge
阅读(1077) | 评论(0) | 转发(0) |