#!/bin/bash
source ./make.mvapich.def
arch
# Mandatory variables. All are checked except CXX and F90.
MTHOME=/usr
PREFIX=/share/apps/mvapich/intel
export CC=icc
export CXX=icc
export F77=ifort
export F90=ifort
export RSHCOMMAND=ssh
IO_BUS=”_PCI_EX_”
ARCH=”_EM64T_”
LINKS=”_DDR_”
export LIBS=”-L${MTHOME}/lib64 -libverbs -libumad -libcommon -lpthread”
export FFLAGS=”-L${MTHOME}/lib64 -xP -fPIC”
export CFLAGS=”-D${ARCH} -D__INTEL_COMPILER -g -DCH_GEN2 -DMEMORY_SCALE -D_AFFINITY_ \
-D_SMP_ -D_SMP_RNDV_ -DVIADEV_RPUT_SUPPORT \
-fPIC -DEARLY_SEND_COMPLETION -DLAZY_MEM_UNREGISTER \
-D${IO_BUS} -D${LINKS} \
-I${MTHOME}/include -I${MTHOME}/include/rdma \
-I/opt/panfs/include”
export CCFLAGS=”-lstdc++”
# Prelogue
make distclean &>/dev/null
# Configure MVAPICH
echo “Configuring MVAPICH…”
./configure –with-device=ch_gen2 –with-arch=LINUX -prefix=${PREFIX} \
–enable-cxx –enable-debug \
–enable-devdebug \
–enable-f77 –enable-f90 \
–with-romio –with-file-system=ufs+nfs+panfs \
–without-mpe \
-lib=”-L${MTHOME}/lib64 -libverbs -libumad -libcommon -lpthread”
2 Responses
3student
1perforce