[mvapich-discuss] Compilation issues

Marcin Zalewski marcin.zalewski at gmail.com
Thu Mar 7 01:47:06 EST 2013


I have been trying to compile mvapich 2-1.9b with the trunk version of
gcc, and I am getting errors like this:

src/mpid/ch3/channels/psm/src/psm_1sided.c:791:34: error: incompatible
types when assigning to type 'MPID_cc_t' from type 'int'
         *(req->savedreq->cc_ptr) = 0;
                                  ^

Since I am compiling with per-object granularity, my solution has been
to change lines like this to:

req->savedreq->cc_ptr->v = 0;

This compiles, but I want to ask whether it makes sense.

Thanks,
Marcin


More information about the mvapich-discuss mailing list