[mvapich-discuss] compile error, openib gen2

Sayantan Sur surs at cse.ohio-state.edu
Thu Apr 27 02:18:50 EDT 2006


Hello,

* On Apr,1 Di Domenico, Michael<mdidomenico at silverstorm.com> wrote :
> 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…

Thanks for your report. Did you check out the trunk from openib.org
(gen2/trunk/src/userspace/mpi/mvapich-gen2/) or the branch
(gen2/branches/mvapich-0.9.7/) or from some other link? Could you please
use make.mvapich.gen2 instead of the command line configure? In
addition, please refer to our user guide from the following link,
especially sections 4 and 5 which talk about building and installing
mvapich-gen2.

http://nowlab.cse.ohio-state.edu/projects/mpi-iba/mvapich_user_guide.html

Thanks,
Sayantan.

> 
>  
> 
> 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
> 

> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss


-- 
http://www.cse.ohio-state.edu/~surs


More information about the mvapich-discuss mailing list