[mpiwg-rma] Fence + threads

Rajeev Thakur thakur at mcs.anl.gov
Fri Jun 20 12:37:03 CDT 2014


Internally if the fence does a reduce_scatter (as in one of the implementations in MPICH), there will be two reduce_scatters from two threads on the same communicator.

Rajeev

On Jun 20, 2014, at 12:32 PM, Jeff Hammond <jeff.science at gmail.com> wrote:

> I want it to be legal, don't think it's clear from the standard, and expect that pattern to break some implementations.
> 
> What's the use case?
> 
> Jeff
> 
> Sent from my iPhone
> 
>> On Jun 20, 2014, at 11:16 AM, "Balaji, Pavan" <balaji at anl.gov> wrote:
>> 
>> 
>> Is the following code correct?  Two threads of a process both do the following:
>> 
>> MPI_PUT
>> MPI_PUT
>> MPI_WIN_FENCE
>> 
>> Collectives are not allowed on the same communicator simultaneously.  But we don’t say anything similar for windows.
>> 
>> — Pavan
>> 
>> _______________________________________________
>> mpiwg-rma mailing list
>> mpiwg-rma at lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma




More information about the mpiwg-rma mailing list