Install MVAPICH2 2.2 @ LN41 - refraction-ray/TH2-demos GitHub Wiki

  • with PGI

参考 : Installation of MVAPICH2 for Different Compilers

由于版本更新,这篇文章里的命令有挺多地方需要修改,但很多地方可以参考

配置PGI 环境变量

参考 PGI Installation Guide

$ export LM_LICENSE_FILE=/BIGDATA/app/PGIcompiler/17.1/license.dat
$ export PATH=/BIGDATA/app/PGIcompiler/17.1/linux86-64/17.1/bin:$PGI/linux86-64/17.1/mpi/openmpi/bin:$PATH

安装

$ FC=pgf95  CC=pgcc CXX=pgc++   ./configure --prefix=/BIGDATA/app/mvapich2/test --enable-sharedlibs=gcc
$ make -j 12
$ make install