MPI
ifort + OpenMPI
./configure --prefix=/home/ywmu/.soft/openmpi_i CC=icc CXX=icpc F77=ifort FC=ifort
## not found: libstdc++.so.5
## solve: yum search libstdc++
### yum install compat-libstdc++-33.x86_64
make
make install
export OPAL_PREFIX=/home/ywmu/.soft/openmpi_i
export OPAL_BINDIR=${OPAL_PREFIX}/bin
export OPAL_LIBDIR=${OPAL_PREFIX}/lib
export OPAL_MANDIR=${OPAL_PREFIX}/share/man
export PATH=${OPAL_BINDIR}:$PATH
export LD_LIBRARY_PATH=${OPAL_LIBDIR}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
gfortran + OpenMPI
./configure --prefix=/home/ywmu/.soft/ompi4.g CC=gcc CXX=g++ FC=gfortran F77=gfortran
## not found: libstdc++.so.5
## solve: yum search libstdc++
### yum install compat-libstdc++-33.x86_64
make -j4
make install
- Similar setting for Environment Variables.
pgi fortran + OpenMPI 3.1
./configure --prefix=/opt/local/openmpi.3.pgi CC=pgcc CXX=pgc++ FC=pgfortran F77=pgf77
## not found: libstdc++.so.5
## solve: yum search libstdc++
### yum install compat-libstdc++-33.x86_64
make
make install
FFTW
FFTW3
- load Environment Variables for OpenMPI if you use ‘–enable-mpi’ for fftw.
./configure --prefix=/home/ywmu/backup/compiled.soft/fftw3/fftw3impi --enable-mpi CC=icc F77=ifort MPICC=mpicc
make -j4
make install
- Modify
CC=gcc F77=gfortran MPICC=mpicc
for gcc/openmpi, CC=pgcc F77=pgf77 MPICC=mpicc
for pgi/openmpi.
Intel FFTW
cd $MKLROOT/interfaces/fftw3xf
make libintel64 compiler=intel