[mvapich-discuss] compile error, openib gen2

Abhinav Vishnu vishnu at cse.ohio-state.edu
Fri Apr 28 01:11:01 EDT 2006


Hi Michael,

Thanks for using MVAPICH and reporting the problem.

We were wondering the openib svn revision number which you are using
for obtaining the source. The current revision number is 6735 and
these files have been on the openib SVN for quite some time
(MVAPICH-0.9.7) was released on March 14th, and the following scripts
should be present in the top directory:

make.mvapich.gen2 /* Make MVAPICH with single-rail Gen2 */
make.mvapich.gen2_multirail /* Make MVAPICH with multi-rail Gen2 */

On the openib SVN, we support only gen2 ibverbs based devices. I
would strongly encourage you to checkout from the OSU SVN, which
we have started to host starting 0.9.7 versino for MVAPICH and 0.9.3-rc0
for MVAPICH2. Please find the following link:

http://nowlab.cse.ohio-state.edu/projects/mpi-iba/ -> Download

In the top level directory, you should find three additional scripts

make.mvapich.vapi /* Single-rail VAPI */
make.mvapich.vapi_multirail /* Multi-rail VAPI */
make.mvapich.udapl /* single-rail uDAPL */

Please note that for most platforms, the above scripts should do the
job of building MPI. Please let us know if you face any problems with
this step.

Also, there is useful debugging information in section 7 of the user
guide at:

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

Please let us know if the problem persists and we would be happy
to assist you.

With best regards,

-- Abhinav
-------------------------------
Abhinav Vishnu,
Graduate Research Associate,
Department Of Comp. Sc. & Engg.
The Ohio State University.
-------------------------------

On Wed, 26 Apr 2006, Di Domenico, Michael 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...
>
>
>
> 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
>
>



More information about the mvapich-discuss mailing list