Open MPI 3.1.0 (gcc, intel)
Webpage
Version
3.1.0
Build Environment
gcc 4.8.5
Intel Compiler 18.0.2
PBS Pro 14.1.0
libpsm2 10.3.3
libpsm2-devel 10.3.3
Files Required
openmpi-3.1.0.tar.bz2
Build Procedure
#!/bin/sh
VERSION=3.1.0
WORKDIR=/work/users/${USER}
TARBALL=/home/users/${USER}/openmpi-${VERSION}.tar.bz2
PBSROOT=/local/apl/lx/pbs14PARALLEL=12
#-----------------------------------------------------------------------
umask 0022cd ${WORKDIR}
if [ -d openmpi-${VERSION} ]; then
mv openmpi-${VERSION} openmpi_erase
rm -rf openmpi-${VERSION} &
fitar jxf ${TARBALL}
cd openmpi-${VERSION}# GCC
INSTALLDIR=/local/apl/lx/openmpi310
mkdir rccs-gcc && cd rccs-gcc
../configure --prefix=${INSTALLDIR} \
--with-tm=${PBSROOT} \
--with-psm2
make -j ${PARALLEL} && make install && make check
cd ../# INTEL
INSTALLDIR=/local/apl/lx/openmpi310-intel
mkdir rccs-intel && cd rccs-intel
CC=icc CXX=icpc FC=ifort \
../configure --prefix=${INSTALLDIR} \
--with-tm=${PBSROOT} \
--with-psm2
make -j ${PARALLEL} && make install && make check
cd ../
Changelog
- (2018/7/10)update; libpbs is necessary on runtime.