[mvapich-discuss] Broken multi-threaded support

Stephan Wolf wolfst at in.tum.de
Wed Apr 10 13:50:03 EDT 2013


Hi Devendar,

Thank you very much for the fix! It fixes compilation with
--enable-refcount=lock-free, but without the flag it is still broken.

Stephan


2013/4/10 Devendar Bureddy <bureddy at cse.ohio-state.edu>

> Hi Stephan
>
> Can you try attached patch?
>
> $patch -p1 < diff.patch
>
> -Devendar
>
>
> On Wed, Apr 10, 2013 at 11:50 AM, Stephan Wolf <mail at stephan-wolf.net>wrote:
>
>> Hi Devendar,
>>
>> In this case I get another error:
>>   CC       src/mpid/ch3/channels/mrail/src/gen2/sysreport.lo
>> src/mpid/ch3/channels/mrail/src/rdma/ch3_istartmsg.c: In function
>> 'MPIDI_CH3_iStartMsg':
>> src/mpid/ch3/channels/mrail/src/rdma/ch3_istartmsg.c:191:22: error:
>> incompatible types when assigning to type 'MPID_cc_t' from type 'int'
>> src/mpid/ch3/channels/mrail/src/rdma/ch3_istartmsgv.c: In function
>> 'MPIDI_CH3_iStartMsgv':
>> src/mpid/ch3/channels/mrail/src/rdma/ch3_istartmsgv.c:216:22: error:
>> incompatible types when assigning to type 'MPID_cc_t' from type 'int'
>>
>> Stephan
>>
>>
>> 2013/4/9 Devendar Bureddy <bureddy at cse.ohio-state.edu>
>>
>>> Hi Stephan
>>>
>>> Can you check if adding  "--enable-refcount=lock-free" fix the build
>>> issue?
>>>
>>> -Devendar
>>>
>>>
>>> On Tue, Apr 9, 2013 at 8:07 PM, Stephan Wolf <wolfst at in.tum.de> wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> the multi-threaded support based on per-object granularity seems to be
>>>> broken using gcc47. If I run the following command:
>>>> ./configure --enable-threads=runtime --enable-thread-cs=per-objec &&
>>>> make -j
>>>>
>>>> I get:
>>>> ----------------------------
>>>>   CC       src/mpi/attr/attrutil.lo
>>>> In file included from ./src/include/mpiimpl.h:3821:0,
>>>>                  from src/mpi/attr/attrutil.c:16:
>>>> ./src/include/mpiimplthreadpost.h:27:1: warning: conflicting types for
>>>> 'MPIU_Thread_CS_enter_lockname_impl_' [enabled by default]
>>>> ./src/include/mpiimplthreadpost.h:27:1: error: static declaration of
>>>> 'MPIU_Thread_CS_enter_lockname_impl_' follows non-static declaration
>>>> In file included from src/mpi/attr/attrutil.c:16:0:
>>>> ./src/include/mpiimpl.h:1319:1: note: previous implicit declaration of
>>>> 'MPIU_Thread_CS_enter_lockname_impl_' was here
>>>> In file included from ./src/include/mpiimpl.h:3821:0,
>>>>                  from src/mpi/attr/attrutil.c:16:
>>>> ./src/include/mpiimplthreadpost.h:46:1: warning: conflicting types for
>>>> 'MPIU_Thread_CS_exit_lockname_impl_' [enabled by default]
>>>> ./src/include/mpiimplthreadpost.h:46:1: error: static declaration of
>>>> 'MPIU_Thread_CS_exit_lockname_impl_' follows non-static declaration
>>>> In file included from src/mpi/attr/attrutil.c:16:0:
>>>> ./src/include/mpiimpl.h:1319:1: note: previous implicit declaration of
>>>> 'MPIU_Thread_CS_exit_lockname_impl_' was here
>>>> -----------------------------
>>>>
>>>> I tried to fix it, but it is too much macro magic for me. Can you have
>>>> a look at it?
>>>>
>>>> Thanks
>>>>
>>>> Stephan
>>>>
>>>> _______________________________________________
>>>> mvapich-discuss mailing list
>>>> mvapich-discuss at cse.ohio-state.edu
>>>> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>>>>
>>>>
>>>
>>>
>>> --
>>> Devendar
>>>
>>
>>
>
>
> --
> Devendar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20130410/8d1bdd50/attachment-0001.html


More information about the mvapich-discuss mailing list