Hi Abhisek, Both the portals4 and pt2pt OSC components call ompi_comm_dup() near the beginning of component_select(), so each window has it's own communicator. The duplicated communicator has a unique contextid and therefore the window has unique match bits/hash key.
Thanks, todd On Mon, Aug 31, 2015 at 5:59 AM, Jeff Squyres (jsquyres) <jsquy...@cisco.com > wrote: > On Aug 27, 2015, at 11:55 AM, abhisek...@gmail.com wrote: > > > > I want to know if it is allowed in MPI one-sided communication to open > multiple windows simultaneously using the same communicator. > > Yes. > > > The standard does not seem to forbid it as far as I can see, but when I > look at the open mpi osc components (rdma and portals4) it looks like a > window is always identified by the context-id in the communicator (for > example the match bits in portals4 component use the communicator cid to > distinguish among windows, there is a hash-table in the rdma component that > uses the communicator cid as the key to store open modules). It seems to me > that these components may not be able to support multiple open windows > opened with the same communicator. > > Nathan/Todd will have to answer that. I'd be (very) surprised if the code > did not support multiple windows that were generated from the same > communicator. > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/08/27509.php >