Re: [OMPI users] Interaction of MPI_Send and MPI_Barrier

2009-07-28 Thread Richard Treumann
psie, NY 12601 Tele (845) 433-7846 Fax (845) 433-8363 users-boun...@open-mpi.org wrote on 07/27/2009 02:17:19 PM: > [image removed] > > Re: [OMPI users] Interaction of MPI_Send and MPI_Barrier > > Shaun Jackman > > to: > > Open MPI Users > > 07/27/2009 02:19

Re: [OMPI users] Interaction of MPI_Send and MPI_Barrier

2009-07-27 Thread Shaun Jackman
Hi Dick, Okay, it's good to know that even if using MPI_Barrier in this fashion did appear to be working, it's not guaranteed to work. Is there an MPI collective function that has the desired effect? that after all processes call this function, any previously posted MPI_Send are guaranteed to

Re: [OMPI users] Interaction of MPI_Send and MPI_Barrier

2009-07-23 Thread Richard Treumann
removed] > > [OMPI users] Interaction of MPI_Send and MPI_Barrier > > Shaun Jackman > > to: > > Open MPI > > 07/23/2009 05:04 PM > > Sent by: > > users-boun...@open-mpi.org > > Please respond to Open MPI Users > > Hi, > > Two processes run the

[OMPI users] Interaction of MPI_Send and MPI_Barrier

2009-07-23 Thread Shaun Jackman
Hi, Two processes run the following program: request = MPI_Irecv MPI_Send (to the other process) MPI_Barrier flag = MPI_Test(request) Without the barrier, there's a race and MPI_Test may or may not return true, indicating whether the message has been received. With the barrier, is it guarante