[mvapich-discuss] Compilation issues

Marcin Zalewski marcin.zalewski at gmail.com
Fri Mar 8 15:42:50 EST 2013


I have configured with:

./configure --prefix=/opt/mvapich/2-1.9b --enable-fast=all,O3
--enable-thread-cs=per-object --enable-refcount=lock-free
--enable-handle-allocation=tls --with-atomic-primitives
--enable-shared --with-ch3-rank-bits=16 --enable-hybrid
--with-device=ch3:psm --with-psm=/opt/mvapich/2-1.9b/usr

I am using a recent trunk gcc:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/zalewski/tools/gcc-4.8-20130303/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.8-20130303/configure
--prefix=/home/zalewski/tools/gcc-4.8-20130303
--enable-languages=c,c++,fortran,objc,obj-c++ --enable-shared
--with-system-zlib --without-included-gettext --enable-threads=posix
--enable-nls --enable-clocale=gnu --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --disable-werror
--enable-checking=release --with-sysroot=/
Thread model: posix
gcc version 4.8.0 20130303 (experimental) (GCC)

Thanks,
Marcin

On Fri, Mar 8, 2013 at 12:38 PM, Devendar Bureddy
<bureddy at cse.ohio-state.edu> wrote:
> Hi Marcin
>
> I couldn't reproduce the same issue? Can you specify your configure options?
>
> -Devendar
>
> On Thu, Mar 7, 2013 at 1:47 AM, Marcin Zalewski <marcin.zalewski at gmail.com>
> wrote:
>>
>> 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
>> _______________________________________________
>> mvapich-discuss mailing list
>> mvapich-discuss at cse.ohio-state.edu
>> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>
>
>
> --
> Devendar


More information about the mvapich-discuss mailing list