Re: [OMPI devel] Thread safety levels

2010-05-10 Thread Sylvain Jeaugey
On Mon, 10 May 2010, N.M. Maclaren wrote: As explained by Sylvain, current Open MPI implementation always returns MPI_THREAD_SINGLE as provided thread level if neither --enable-mpi-threads nor --enable-progress-threads was specified at configure (v1.4). That is definitely the correct action.

[OMPI devel] Thread safety levels

2010-01-05 Thread Sylvain Jeaugey
Hi list, I'm currently playing with thread levels in Open MPI and I'm quite surprised by the current code. First, the C interface : at ompi/mpi/c/init_thread.c:56 we have : #if OPAL_ENABLE_MPI_THREADS *provided = MPI_THREAD_MULTIPLE; #else *provided = MPI_THREAD_SINGLE; #endif prior