[mvapich-discuss] Broken multi-threaded support

Devendar Bureddy bureddy at cse.ohio-state.edu
Tue Apr 9 23:02:48 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20130409/47f13d8c/attachment-0001.html


More information about the mvapich-discuss mailing list