Using funneled will make your code more portable in the long run
as it is guaranteed by the MPI standard. Using single, i.e. MPI_Init,
is working now for typical OpenMP+MPI program that MPI calls are outside
OpenMP sections. But as MPI implementations implement more performance
optimized feature
Hi all,
I can understand the difference between SINGLE and FUNNELED, and why I
should use FUNNELED now. Thank you!
Yuanyuan
On Mar 4, 2010, at 10:52 AM, Anthony Chan wrote:
- "Yuanyuan ZHANG" wrote:
For an OpenMP/MPI hybrid program, if I only want to make MPI calls
using the main thread, ie., only in between parallel sections, can
I just
use SINGLE or MPI_Init?
If your MPI calls is NOT within OpenMP direc
- "Yuanyuan ZHANG" wrote:
> For an OpenMP/MPI hybrid program, if I only want to make MPI calls
> using the main thread, ie., only in between parallel sections, can I just
> use SINGLE or MPI_Init?
If your MPI calls is NOT within OpenMP directives, MPI does not even
know you are using thre
On Mar 4, 2010, at 7:36 AM, Richard Treumann wrote:
A call to MPI_Init allows the MPI library to return any level of
thread support it chooses.
This is correct, insofar as the MPI implementation can always choose
any level of thread support.
This MPI 1.1 call does not let the application say
Re: [OMPI users] MPI_Init() and MPI_Init_thread()
Sent by:users-boun...@open-mpi.org
Hi guys,
Thanks for
On Thursday 04 March 2010 01:32:39 Yuanyuan ZHANG wrote:
> Hi guys,
>
> Thanks for your help, but unfortunately I am still not clear.
>
> > You are right Dave, FUNNELED allows the application to have multiple
> > threads but only the man thread calls MPI.
>
> My understanding is that even if I u
Hi guys,
Thanks for your help, but unfortunately I am still not clear.
> You are right Dave, FUNNELED allows the application to have multiple
> threads but only the man thread calls MPI.
My understanding is that even if I use SINGLE or MPI_Init, I can still
have multiple threads if I use OpenMP P
Re: [OMPI users] MPI_Init() and MPI_Init_thread()
Sent by:users-boun...@open-mpi.org
On Mar 3, 2010, at 11:3
On Mar 3, 2010, at 11:35 AM, Richard Treumann wrote:
If the application will make MPI calls from multiple threads and
MPI_INIT_THREAD has returned FUNNELED, the application must be
willing to take the steps that ensure there will never be concurrent
calls to MPI from the threads. The threads
Treumann - MPI Team
IBM Systems & Technology Group
Dept X2ZA / MS P963 -- 2455 South Road -- Poughkeepsie, NY 12601
Tele (845) 433-7846 Fax (845) 433-8363
users-boun...@open-mpi.org wrote on 03/03/2010 11:59:45 AM:
> [image removed]
>
> Re: [OMPI users] MPI_Init() and MP
I believe that it specifies the *minimum* threading model supported. If I
recall, opmi is already funnel safe even in single mode. However, if mpi
calls are made from outside the main thread, you should specify funneled for
portability
Brian
On Mar 2, 2010 11:59 PM, "Terry Frankcombe" wrote:
I can't speak for the developers. However, I think it's to do with the
library internals.
>From here: http://www.mpi-forum.org/docs/mpi-20-html/node165.htm
"Advice to implementors.
"If provided is not MPI_THREAD_SINGLE then the MPI library should not
invoke C/ C++/Fortran library calls that
Hi all,
I am a beginner of MPI and a little confused with
MPI_Init_thread() function:
If we use MPI_Init() or MPI_Init_thread(MPI_THREAD_SINGLE, provided)
to initialize MPI environment, when we use OpenMP
PARALLEL directive each process is forked to multiple
threads and when an MPI function is ca
14 matches
Mail list logo