[mvapich-discuss] Broken multi-threaded support

Stephan Wolf wolfst at in.tum.de
Tue Apr 9 20:07:43 EDT 2013


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


More information about the mvapich-discuss mailing list