[mvapich-discuss] compile error, openib gen2

Di Domenico, Michael mdidomenico at silverstorm.com
Wed Apr 26 18:15:08 EDT 2006


I'm trying to compile mvapich-gen2 from the openib distribution.  I did
a configure -prefix=/usr/local/mvapich -with-device=ch_gen2 and got the
following...

 

I followed the instructions for building OpenIB from their wiki page,
any thoughts on why the below param was/is not defined?

 

cc -DHAVE_CONFIG_H -I.
-I/usr/src/openib/userspace/mpi/mvapich-gen2/mpid/ch_gen2
-I/usr/src/openib/userspace/mpi/mvapich-gen2/include
-I/usr/src/openib/userspace/mpi/mvapich-gen2/include
-I/usr/src/openib/userspace/mpi/mvapich-gen2/mpid/ch_gen2
-I/usr/src/openib/userspace/mpi/mvapich-gen2/mpid/util
-DMPID_DEVICE_CODE  -DHAVE_UNAME=1 -DHAVE_NETDB_H=1
-DHAVE_GETHOSTBYNAME=1  -DMPID_DEBUG_NONE -DMPID_STAT_NONE
-DHAVE_MPICHCONF_H -I/usr/src/openib/userspace/mpi/mvapich-gen2
-I/usr/src/openib/userspace/mpi/mvapich-gen2/mpid/ch_gen2 -I.   -c
viainit.c 

In file included from ibverbs_header.h:30,

                 from viapacket.h:30,

                 from req.h:48,

                 from mpid.h:226,

                 from viadev.h:30,

                 from viainit.c:41:

via64.h:47:2: #error Either _IA32_ or _IA64_ or _X86_64_ or _EM64T_ or
MAC_OSX must be defined

via64.h:113:2: #error Either _IA32_ or _IA64_ or _X86_64_ or _EM64T_ or
MAC_OSX must be defined.

In file included from viapriv.h:32,

                 from viainit.c:43:

vbuf.h:134: error: `VBUF_TOTAL_SIZE' undeclared here (not in a function)

In file included from viapriv.h:35,

                 from viainit.c:43:

dreg.h:42: error: syntax error before "aint_t"

dreg.h:42: warning: no semicolon at end of struct or union

dreg.h:56: error: syntax error before '}' token

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20060426/58d1e8b0/attachment.html


More information about the mvapich-discuss mailing list