[mvapich-discuss] about MPI_THREAD_FUNNELED

Jonathan Perkins perkinjo at cse.ohio-state.edu
Fri Nov 9 14:34:18 EST 2012


Hello Jia:
The thread support is `runtime' by default when no --enable-threads
option is specified.  When affinity is disabled, any requested thread
level will be returned.  When affinity is enabled, the library will
return MPI_THREAD_SINGLE.

I suggest that you configure without any --enable-threads option and
specify MV2_ENABLE_AFFINITY=0 at runtime.

Please see the following link for more information on this:
http://mvapich.cse.ohio-state.edu/support/user_guide_mvapich2-1.8.1.html#x1-7300
+06.13

On Sat, Nov 10, 2012 at 01:13:34AM +0800, Jia Jianfeng wrote:
> Hi, everyone, 
> 
> 
> I compile mvapich-1.8.1 with configure as following.
> 
> ./configure --enable-f77 
> --prefix=/opt/mvapich2-1.8.1  --disable-mcast 
> --with-ib-include=/usr/include/infiniband --with-ib-libpath=/usr/lib64 
> --enable-threads=multiple --enable-threads=funneled
> 
> After compiled, when running, It give me a error as following,
> 
>  MPI error 0 in MPI library does not support the requested level of threading (MPI_THREAD_FUNNELED).
> 
> It
>  seems that the MPI_THREAD_FUNNELED is not supported by mvapich2, isn't 
> it? But why in the configure of mvapich2 have the option of   
> --enable-threads=funneled??
> 
> Anybody any idea?

> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss


-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo


More information about the mvapich-discuss mailing list