The "#pragma omp for" does a barrier at the end of the block (since we did not specify "nowait"), so I don't think it is required.


_______________________________________________
Douglas Miller                  BlueGene Messaging Development
IBM Corp., Rochester, MN USA                     Bldg 030-2 A401
dougmill@us.ibm.com               Douglas Miller/Rochester/IBM


Inactive hide details for Jim Dinan ---01/30/2012 12:44:47 PM---Jim Dinan <dinan@mcs.anl.gov>Jim Dinan ---01/30/2012 12:44:47 PM---Jim Dinan <dinan@mcs.anl.gov>

    Jim Dinan <dinan@mcs.anl.gov> 
    Sent by: mpi3-hybridpm-bounces@lists.mpi-forum.org

    01/30/2012 12:38 PM
    Please respond to
    mpi3-hybridpm@lists.mpi-forum.org


To

    mpi3-hybridpm@lists.mpi-forum.org,

cc


Subject

    Re: [Mpi3-hybridpm] Ticket 217 proposal document updated

Hi Doug,

In Example 12.3, the "#omp barrier" should be required to ensure that
all threads have finished updating sendbuf and reading recvbuf before
the Allreduce.

 ~Jim.

On 1/30/12 8:27 AM, Douglas Miller wrote:
> I've updated the PDF in Ticket 217 based on latest comments. Please
> review the text and send me comments. This is an attempt to make the
> concept easier to follow by describing in terms of a "team epoch".
>
> thanks,
> _______________________________________________
> Douglas Miller BlueGene Messaging Development
> IBM Corp., Rochester, MN USA Bldg 030-2 A401
> dougmill@us.ibm.com Douglas Miller/Rochester/IBM
>
>
> _______________________________________________
> Mpi3-hybridpm mailing list
> Mpi3-hybridpm@lists.mpi-forum.org
>
http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-hybridpm
_______________________________________________
Mpi3-hybridpm mailing list
Mpi3-hybridpm@lists.mpi-forum.org
http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-hybridpm