<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Same window, i.e.:</div><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: relative; z-index: 0;">Process 0:<br class="gmail_msg"><br class="gmail_msg"></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: relative; z-index: 0;">Win_lock(MPI_LOCK_SHARED, target=A, window=win)<br class="gmail_msg"></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;">Win_lock(MPI_LOCK_SHARED, target=B, window=win)</blockquote></div></div><div><br></div><div>Sebastian</div><div><br></div><br><div><div>On 30 Mar 2017, at 06:24, Jeff Hammond <<a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Same window or different windows?</div><div><br></div><div>Jeff</div><div><br><div class="gmail_quote"><div>On Wed, Mar 29, 2017 at 5:59 PM Sebastian Rinke <<a href="mailto:rinke@cs.tu-darmstadt.de">rinke@cs.tu-darmstadt.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;">Dear all,<br class="gmail_msg">
<br class="gmail_msg">
I have some issue with MPI_Win_lock in MPICH-3.1.4 on Blue Gene/Q.<br class="gmail_msg">
<br class="gmail_msg">
Here is my example:<br class="gmail_msg">
<br class="gmail_msg">
Process 0:<br class="gmail_msg">
<br class="gmail_msg">
Win_lock(MPI_LOCK_SHARED, target=A)<br class="gmail_msg">
Win_lock(MPI_LOCK_SHARED, target=B)<br class="gmail_msg">
<br class="gmail_msg">
No matter what I use for A and B (given A != B), a process cannot acquire more than one lock<br class="gmail_msg">
at a time.<br class="gmail_msg">
<br class="gmail_msg">
To my understanding, it should be possible to acquire more than one lock.<br class="gmail_msg">
<br class="gmail_msg">
Can you confirm this issue?<br class="gmail_msg">
<br class="gmail_msg">
Thanks,<br class="gmail_msg">
Sebastian<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
discuss mailing list     <a href="mailto:discuss@mpich.org" class="gmail_msg" target="_blank">discuss@mpich.org</a><br class="gmail_msg">
To manage subscription options or unsubscribe:<br class="gmail_msg">
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br class="gmail_msg">
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>
_______________________________________________<br>discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a></blockquote></div><br></body></html>