[openib-general] mpi on infiniband and openib

Makia Minich
Mon Mar 29 12:53:07 PST 2004


OK, now this is probably a stupid question, but here goes.  I've got the 
infiniband-support tarball, and found the MVAPICH sources in the 
"host/mpi/mpich" directory.  Using the following configure line:

TAVOR_BUILD=${RPM_BUILD_DIR}/${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}/build/exe/host_native_2_6/tavor/
./configure --with-device=ch_vapi --with-arch=LINUX --without-mpe --enable-f77 
\
        --enable-f90 --without-romio
        -cflags="-D_SMP_ -DUSE_STDARG  -DLAZY_MEM_UNREGISTER -DUSE_INLINE \
                -DRDMA_FAST_PATH -DEARLY_SEND_COMPLETION -D_REENTRANT -O2
                -DVIADEV_RPUT_SUPPORT -MD -fpic -DMT_LITTLE_ENDIAN \
                -D__LINUX__ -DVAPI -DCPU_X86 \
                -I${TAVOR_BUILD}/include \
                -L${TAVOR_BUILD}/lib " \
        -lib="-lmtl_common -lvapi -lmpga -lmosal -lpthread"

I then run "make clean; make".  Everything seems to go alright, until here:

Testing that MPI applications can be linked...
make --no-print-directory linktest
make overtake
/home/makia/rpm/BUILD/infiniband-support-2.0/host/mpi/mpich/bin/mpicc -D_SMP_ 
-DUSE_STDARG -DLAZY_MEM_UNREGISTER -DUSE_INLINE -DRDMA_FAST_PATH 
-DEARLY_SEND_COMPLETION -D_REENTRANT -O2 -DVIADEV_RPUT_SUPPORT -MD -fpic 
-DMT_LITTLE_ENDIAN -D__LINUX__ -DVAPI -DCPU_X86 
-I/home/makia/rpm/BUILD/infiniband-support-2.0/build/exe/host_native_2_6/tavor/include 
-L/home/makia/rpm/BUILD/infiniband-support-2.0/build/exe/host_native_2_6/tavor/lib 
-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
/home/makia/rpm/BUILD/infiniband-support-2.0/host/mpi/mpich/bin/mpicc -D_SMP_ 
-DUSE_STDARG -DLAZY_MEM_UNREGISTER -DUSE_INLINE -DRDMA_FAST_PATH 
-DEARLY_SEND_COMPLETION -D_REENTRANT -O2 -DVIADEV_RPUT_SUPPORT -MD -fpic 
-DMT_LITTLE_ENDIAN -D__LINUX__ -DVAPI -DCPU_X86 
-I/home/makia/rpm/BUILD/infiniband-support-2.0/build/exe/host_native_2_6/tavor/include 
-L/home/makia/rpm/BUILD/infiniband-support-2.0/build/exe/host_native_2_6/tavor/lib 
-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
/home/makia/rpm/BUILD/infiniband-support-2.0/host/mpi/mpich/bin/mpicc  -o 
overtake overtake.o test.o 
/home/makia/rpm/BUILD/infiniband-support-2.0/host/mpi/mpich/lib/libmpich.a(viainit.o)
(.text+0x55a): In function `MPID_VIA_Init':
: undefined reference to `libmosal_init'
/home/makia/rpm/BUILD/infiniband-support-2.0/host/mpi/mpich/lib/libmpich.a(viainit.o)
(.text+0x55f): In function `MPID_VIA_Init':
: undefined reference to `libvapi_init'
collect2: ld returned 1 exit status
make[4]: *** [overtake] Error 1
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

Basically, how/where are the references to libmosal_init and libvapi_init 
(this sentence made more sense in my head)?

On Monday 29 March 2004 11:31, Dhabaleswar Panda wrote:
> > What mpi implementations are available in the IB world?  Specifically,
> > I'd like to compile up IOR
> > (http://www.llnl.gov/asci/purple/benchmarks/limited/ior/) and get it
> > running to test out a filesystem.  Any help with a starting point would
> > be greatly appreciated.  Thanks...
>
> MVAPICH and MVAPICH2 (MPI-2 version) from OSU are available for the IB
> world and are being used at many places world-wide. The current
> `infiniband-support-2004-02-26.tar.bz2' file in the openib downloads
> includes a copy of MVAPICH.
>
> Please take a look at it. Alternatively, please feel free to visit
>  to request for a
> download.
>
> Thanks,
>
> DK
>
> > --
> > (((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))
> >  Makia Minich                 The memories of a man in his old age,
> >                    are the deeds of a man in his Prime.
> >  makia at llnl.gov                                    -- Waters/Wright
> > (((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))
> >
> >
> > --
> > To unsubscribe send an email with subject unsubscribe to
> > openib-general at openib.org. Please contact moderator at openib.org for
> > questions.

-- 
(((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))
 Makia Minich                 The memories of a man in his old age,
                   are the deeds of a man in his Prime.
 makia at llnl.gov                                    -- Waters/Wright
(((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))


-- 
To unsubscribe send an email with subject unsubscribe to openib-general at openib.org.
Please contact moderator at openib.org for questions.




More information about the openib-general mailing list