Re: [OMPI users] RMA in openmpi

2020-04-28 Thread Claire Cashmore via users
Hi Joseph OK, that makes sense. Thank you for your help! Thanks again Claire On 27/04/2020, 11:28, "Joseph Schuchart" wrote: Hi Claire, You cannot use MPI_Get (or any other RMA communication routine) on a window for which no access epoch has been started. MPI_Win_fence starts

Re: [OMPI users] RMA in openmpi

2020-04-27 Thread Joseph Schuchart via users
Hi Claire, You cannot use MPI_Get (or any other RMA communication routine) on a window for which no access epoch has been started. MPI_Win_fence starts an active target access epoch, MPI_Win_lock[_all] start a passive target access epoch. Window locks are synchronizing in the sense that they

Re: [OMPI users] RMA in openmpi

2020-04-27 Thread Claire Cashmore via users
Hi Joseph Thank you for your reply. From what I had been reading I thought they were both called "synchronization calls" just that one was passive (lock) and one was active (fence), sorry if I've got confused! So I'm asking do need either MPI_Win_fence or MPI_Win_unlock/lock in order to use on

Re: [OMPI users] RMA in openmpi

2020-04-26 Thread Joseph Schuchart via users
Claire, > Is it possible to use the one-sided communication without combining it with synchronization calls? What exactly do you mean by "synchronization calls"? MPI_Win_fence is indeed synchronizing (basically flush+barrier) but MPI_Win_lock (and the passive target synchronization interface