[mvapich-discuss] viainit.c errors in mvapich-0.9.7 build/topspin
Steve Jones
stevejones at stanford.edu
Mon Apr 17 00:57:26 EDT 2006
hi.
i realized this is a similar issue faced in 0.9.6-122. below is the patch
for the previous version that was sent from nbcl. it's my guess this same
fix should resolve it, correct?
steve
diff -Naur mvapich-0.9.6-122/mpid/vapi/viainit.c
mvapich-0.9.6-122-patch/mpid/vapi/viainit.c
--- mvapich-0.9.6-122/mpid/vapi/viainit.c 2005-11-25
14:44:11.000000000 -0500
+++ mvapich-0.9.6-122-patch/mpid/vapi/viainit.c 2006-02-07
16:20:17.000000000 -0500
@@ -165,7 +165,7 @@
case VAPI_EEC_COMM_ESTABLISHED:
case VAPI_SEND_QUEUE_DRAINED:
case VAPI_PORT_ACTIVE:
-#ifdef VAPI_VERSION_CODE
+#if 0
#if VAPI_VERSION_CODE >= VAPI_VERSION(4,1,0)
case VAPI_CLIENT_REREGISTER:
case VAPI_RECEIVE_QUEUE_DRAINED:
@@ -186,7 +186,7 @@
case VAPI_LOCAL_EEC_CATASTROPHIC_ERROR:
case VAPI_LOCAL_CATASTROPHIC_ERROR:
case VAPI_PORT_ERROR:
-#ifdef VAPI_VERSION_CODE
+#if 0
#if VAPI_VERSION_CODE >= VAPI_VERSION(4,1,0)
case VAPI_SRQ_CATASTROPHIC_ERROR:
#endif
Quoting Steve Jones <stevejones at stanford.edu>:
> hi.
>
> i'm receiving the following errors when building mvapich-0.9.7 on the
> following system:
>
> kernel: 2.6.9-34.ELsmp x86_64
> HCA fw: v3.4.000 build 3.2.0.82 HCA.CougarCub.A1
> topspin rpms:
> topspin-ib-rhel4-3.2.0-82
> topspin-ib-mod-rhel4-2.6.9-34.ELsmp-3.2.0-82
> intel 9.0 em64t compilers
>
> has anyone seen this error?
>
> thanks.
>
> steve jones
>
> icc -DHAVE_CONFIG_H -I. -I/root/admin/mvapich/mvapich-0.9.7/mpid/vapi
> -I/root/admin/mvapich/mvapich-0.9.7/include
> -I/root/admin/mvapich/mvapich-0.9.7/include
> -I/root/admin/mvapich/mvapich-0.9.7/mpid/vapi
> -I/root/admin/mvapich/mvapich-0.9.7/mpid/util -DMPID_DEVICE_CODE
> -DHAVE_UNAME=1 -DHAVE_NETDB_H=1 -DHAVE_GETHOSTBYNAME=1 -DMPID_DEBUG_NONE
> -DMPID_STAT_NONE -D_EM64T_ -DUSE_INLINE -DEARLY_SEND_COMPLETION
> -DRDMA_FAST_PATH -DVIADEV_RPUT_SUPPORT
> -DLAZY_MEM_UNREGISTER
> -D_SMP_ -fPIC -03 -D_SMP_RNDV_ -D_PCI_X_
> -D_SDR_ -I/usr/local/topspin/include
> -I/usr/local/topspin/include/vapi -DHAVE_MPICHCONF_H
> -I/root/admin/mvapich/mvapich-0.9.7
> -I/root/admin/mvapich/mvapich-0.9.7/mpid/vapi -I. -c viainit.c
> icc: Command line warning: ignoring unknown option '-03'
> viainit.c(170): error: identifier "VAPI_CLIENT_REREGISTER" is undefined
> case VAPI_CLIENT_REREGISTER:
> ^
>
> viainit.c(172): error: identifier "VAPI_ECC_DETECT" is undefined
> case VAPI_ECC_DETECT:
> ^
>
> viainit.c(173): error: identifier "VAPI_PATH_MIG_ARMED" is undefined
> case VAPI_PATH_MIG_ARMED:
> ^
>
> viainit.c(1147): warning #556: a value of type "char *" cannot be
> assigned
> to an entity of type "unsigned char *"
> v->buffer = (char *) ((char *)(v->head_flag) +
> sizeof(VBUF_FLAG_TYPE));
> ^
>
> viainit.c(1152): warning #556: a value of type "char *" cannot be
> assigned
> to an entity of type "unsigned char *"
> v->buffer = (char *) ((char *)(v->head_flag) +
> sizeof(VBUF_FLAG_TYPE));
> ^
>
> viainit.c(1260): warning #188: enumerated type mixed with another type
> MPID_DeviceCheck(1);
> ^
>
> compilation aborted for viainit.c (code 2)
> make[3]: *** [viainit.o] Error 2
> 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
>
More information about the mvapich-discuss
mailing list