[mvapich-discuss] undefined reference to vbuf_fast_rdma_alloc and vbuf_rdma_address_send

Shan-ho Tsai shtsai at uga.edu
Thu May 21 14:54:56 EDT 2009


Hello all,

I am trying to build MVAPICH 1.1 (2009.05.19) using
PGI v.7.2 compilers, on an Intel quad-core Xeon, 
running Linux RHEL4, and Qlogic Infiniband (Mellanox
adapter). I am using OpenFabrics/Gen2.

I edited make.mvapich.gen2 to set the path and
compilers to

IBHOME=${IBHOME:-/usr}
IBHOME_LIB=${IBHOME_LIB:-/usr/lib64}
PREFIX=${PREFIX:-/usr/local/mvapich-1.1}
export CC=${CC:-pgcc}
export CXX=${CXX:-pgCC}
export F77=${F77:-pgf77}
export F90=${F90:-pgf90}

and I added -DMEMORY_RELIABLE to CFLAGS.

The configuration and compilation appear
fine (no error messages), but I got an error
in the test to see if MPI applications can be
linked. The error is

Testing that MPI applications can be linked...
make --no-print-directory linktest
make overtake
/usr/local/src/infiniband/qlogic/mpi/mvapich-1.1-2009-05-19/bin/mpicc -D_EM64T_ -DEARLY_SEND_COMPLETION -DMEMORY_SCALE -DMEMORY_RELIABLE -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DXRC -DCH_GEN2 -D_GNU_SOURCE -I/usr/include -O -DHAVE_MPICHCONF_H  -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DUSE_STDARG=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_LONG_LONG_INT=1 -DHAVE_PROTOTYPES=1 -DHAVE_SIGNAL_H=1 -DHAVE_SIGACTION=1 -DHAVE_SLEEP=1 -DHAVE_SYSCONF=1   -c overtake.c
/usr/local/src/infiniband/qlogic/mpi/mvapich-1.1-2009-05-19/bin/mpicc -D_EM64T_ -DEARLY_SEND_COMPLETION -DMEMORY_SCALE -DMEMORY_RELIABLE -DVIADEV_RPUT_SUPPORT -D_SMP_ -D_SMP_RNDV_ -DXRC -DCH_GEN2 -D_GNU_SOURCE -I/usr/include -O -DHAVE_MPICHCONF_H  -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DUSE_STDARG=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_LONG_LONG_INT=1 -DHAVE_PROTOTYPES=1 -DHAVE_SIGNAL_H=1 -DHAVE_SIGACTION=1 -DHAVE_SLEEP=1 -DHAVE_SYSCONF=1   -c test.c
/usr/local/src/infiniband/qlogic/mpi/mvapich-1.1-2009-05-19/bin/mpicc  -o overtake overtake.o test.o
/usr/local/src/infiniband/qlogic/mpi/mvapich-1.1-2009-05-19/lib/libmpich.a(cm_user.o)(.text+0x21a): In function `odu_enable_qp':
: undefined reference to `vbuf_fast_rdma_alloc'
/usr/local/src/infiniband/qlogic/mpi/mvapich-1.1-2009-05-19/lib/libmpich.a(cm_user.o)(.text+0x224): In function `odu_enable_qp':
: undefined reference to `vbuf_rdma_address_send'
make[4]: *** [overtake] Error 2
make[3]: [linktest] Error 2 (ignored)
Could not link a C program with MPI libraries
make[3]: *** [linktest] Error 1
make[2]: *** [linktest] Error 2
make[1]: *** [mpi-lib-test] Error 2
make: *** [mpi] Error 2
Failure in building MVAPICH.

Are vbuf_rdma_address_send and vbuf_fast_rdma_alloc
defined in an mpich library or in an ofed library?
I am not sure what is causing this error. Should I 
have defined some other compilation macros? 

Any suggestions how I can get this problem 
resolved?

Thank you very much in advance.
Regards,
Shan-Ho Tsai

-----------------------------------------
Shan-Ho Tsai
University of Georgia, Athens GA, USA


More information about the mvapich-discuss mailing list