[mvapich-discuss] 0.9.8 build error
Steve Jones
stevejones at stanford.edu
Tue Oct 31 03:29:31 EST 2006
hi.
i'm encountering a build error for 0.9.8 using gnu/intel compilers (haven't
tested others) in the "make mpir in directory mpid/vapi" stage of the
build. i've included the configure script and error message below, along
with system information.
host: em64t
kernel: 2.6.9-42.0.2.ELsmp - topspin
topspin: topspin-ib-mod-rhel4-2.6.9-42.0.2.ELsmp-3.2.0-110
firmware/adapter: v3.4.000 build 3.2.0.110, with label 'HCA.CougarCub.A1'
let me know if you need anything further.
thanks.
steve
making mpir in directory mpid/vapi
for file in queue.c sbcnst2.c tr2.c sbcnst2.h tr2.h ; do \
if [ ! -s $file ] ; then \
ln -s ../util/$file; \
fi; \
done
gcc -DHAVE_CONFIG_H -I. -I/root/admin/mvapich-0.9.8/mpid/vapi
-I/root/admin/mvapich-0.9.8/include -I/root/admin/mvapich-0.9.8/include
-I/root/admin/mvapich-0.9.8/mpid/vapi -I/root/admin/mvapich-0.9.8/mpid/util
-DMPID_DEVICE_CODE -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1
-D_EM64T_ -DUSE_INLINE -DEARLY_SEND_COMPLETION -DRDMA_FAST_PATH
-DVIADEV_RPUT_SUPPORT -DLAZY_MEM_UNREGISTER -D_SMP_ -fPIC
-fno-strict-aliasing -D_SMP_RNDV_ -D_PCI_X_ -D_SDR_
-I/usr/local/topspin/include -I/usr/local/topspin/include/vapi
-DHAVE_MPICHCONF_H -I/root/admin/mvapich-0.9.8
-I/root/admin/mvapich-0.9.8/mpid/vapi -I. -Wall -c viainit.c
viainit.c: In function `async_event_handler':
viainit.c:170: error: `VAPI_CLIENT_REREGISTER' undeclared (first use in this
function)
viainit.c:170: error: (Each undeclared identifier is reported only once
viainit.c:170: error: for each function it appears in.)
viainit.c:172: error: `VAPI_ECC_DETECT' undeclared (first use in this
function)
viainit.c:173: error: `VAPI_PATH_MIG_ARMED' undeclared (first use in this
function)
make[3]: *** [viainit.o] Error 1
Exit status from make was 2
make[2]: *** [mpilib] Error 1
make[1]: *** [mpi-modules] Error 2
make: *** [mpi] Error 2
#!/bin/bash
source ./make.mvapich.def
arch
# Mandatory variables. All are checked except CXX and F90.
MTHOME=/usr/local/topspin
PREFIX=/share/apps/mvapich/gnu
export CC=gcc
export CXX=g++
export F77=g77
export RSHCOMMAND=ssh
IO_BUS="_PCI_X_"
ARCH="_EM64T_"
LINKS="_SDR_"
export LIBS="-L${MTHOME}/lib64 -lmosal -lvapi -lpthread"
export FFLAGS="-L${MTHOME}/lib64 -fPIC"
export CFLAGS="-D${ARCH} -DUSE_INLINE -DEARLY_SEND_COMPLETION
-DRDMA_FAST_PATH \
-DVIADEV_RPUT_SUPPORT -DLAZY_MEM_UNREGISTER -D_SMP_ \
-fPIC -fno-strict-aliasing -D_SMP_RNDV_ \
$SUPPRESS -D${IO_BUS} -D${LINKS} \
-I${MTHOME}/include -I${MTHOME}/include/vapi"
# Prelogue
make distclean &>/dev/null
# Configure MVAPICH
echo "Configuring MVAPICH..."
./configure --with-device=vapi --with-arch=LINUX -prefix=${PREFIX} \
--enable-cxx --enable-debug \
--enable-devdebug \
--enable-f77 \
--enable-romio=with-aio --without-mpe \
-lib="-L${MTHOME}/lib64 -lmosal -lvapi -lpthread"
More information about the mvapich-discuss
mailing list