<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I see no harm in adding a clarification - not an errata, and not a change. Is my text sufficiently precise, or is there better text that we could use?<div class=""><br class=""></div><div class="">Bill</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">William Gropp<br class="">Director and Chief Scientist, NCSA<br class="">Thomas M. Siebel Chair in Computer Science<br class="">University of Illinois Urbana-Champaign</div><br class="Apple-interchange-newline"></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 2, 2018, at 3:54 PM, Jeff Hammond <<a href="mailto:jeff.science@gmail.com" class="">jeff.science@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class="">I agree with all of these comments, but a user is arguing that these requirements are not clear from the text, e.g. because the meaning of existence in "existing memory" is not defined.  It seems that what is obvious to us is not obvious to users.<div class=""><div class=""><div class=""><div class=""><br class=""></div><div class="">Jeff</div><div class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Jan 2, 2018 at 12:54 PM, William Gropp <span dir="ltr" class=""><<a href="mailto:wgropp@illinois.edu" target="_blank" class="">wgropp@illinois.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Yes.  The r and l values must remain valid until the free.<div class=""><br class=""></div><div class="">Bill</div><div class=""><span class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="word-wrap:break-word" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">William Gropp<br class="">Director and Chief Scientist, NCSA<br class="">Thomas M. Siebel Chair in Computer Science<br class="">University of Illinois Urbana-Champaign</div><br class="m_-7488904098337738056Apple-interchange-newline"></div></div><br class="m_-7488904098337738056Apple-interchange-newline"></div><br class="m_-7488904098337738056Apple-interchange-newline"></div><br class="m_-7488904098337738056Apple-interchange-newline"><br class="m_-7488904098337738056Apple-interchange-newline">
</div>
<br class=""></span><div class=""><div class="h5"><div class=""><blockquote type="cite" class=""><div class="">On Jan 2, 2018, at 2:52 PM, Nathan Hjelm <<a href="mailto:hjelmn@mac.com" target="_blank" class="">hjelmn@mac.com</a>> wrote:</div><br class="m_-7488904098337738056Apple-interchange-newline"><div class="">


<div class=""><div class=""><div style="font-family:SFNSText,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" class="">I would expect that the intent is also that the memory should not be freed/unmapped before the matching call to MPI_Win_free() correct?</div><div style="font-family:SFNSText,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" class=""><br class=""></div><div style="font-family:SFNSText,'Helvetica Neue',Helvetica,sans-serif;font-size:15px;font-style:normal;font-variant-caps:normal;font-weight:300;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" class="">-Nathan</div></div><div class=""><br class="">On Jan 02, 2018, at 01:19 PM, William Gropp <<a href="mailto:wgropp@illinois.edu" target="_blank" class="">wgropp@illinois.edu</a>> wrote:<br class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="m_-7488904098337738056msg-quote" style="word-wrap:break-word">It was certainly the intent that the memory be allocated.  Specifically, if a is the pointer and the region is of length L, then (assuming char *a and ) a[0] … a[L-1] must be valid r and l values at the point of the call.<div class=""><br class=""></div><div class="">Bill</div><div class=""><br class=""><div class=""><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class=""><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class=""><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class=""><div style="word-wrap:break-word" class=""><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">William Gropp<br class="">Director and Chief Scientist, NCSA<br class="">Thomas M. Siebel Chair in Computer Science<br class="">University of Illinois Urbana-Champaign</div></div></div></div></div></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 2, 2018, at 1:52 PM, Jeff Hammond <<a href="mailto:jeff.science@gmail.com" target="_blank" class="">jeff.science@gmail.com</a>> wrote:</div><div class=""><div dir="ltr" class="">If a user passes a (base,size) pair that corresponds to a range of addresses that are not allocated and/or mapped, is that a correct MPI program?<br class=""><br class="">The only text I can find that implies that buffers passed to MPI_Win_create have to be allocated is the following, assuming that one interprets "existing memory" this way.  <br class=""><br class="">"Each process specifies a window of existing memory that it exposes to RMA accesses by the processes in the group of comm." (MPI 3.1 11.2.1)<br class=""><br class="">The Fortran-specific text is similarly suggestive, but it only says that a user can pass a simply contiguous array, not that such a thing is required.<br class=""><br class="">"In Fortran, one can pass the first element of a memory region or a whole array, which must be ‘simply contiguous’"<br class=""><br class="">Thanks,<br class=""><br class="">Jeff<br class=""><br class="">--<br class="">Jeff Hammond<br class=""><a href="mailto:jeff.science@gmail.com" target="_blank" class="">jeff.science@gmail.com</a><br class=""><a href="http://jeffhammond.github.io/" target="_blank" class="">http://jeffhammond.github.io/</a></div>______________________________<wbr class="">_________________<br class="">mpiwg-rma mailing list<br class=""><a href="mailto:mpiwg-rma@lists.mpi-forum.org" target="_blank" class="">mpiwg-rma@lists.mpi-forum.org</a><br class=""><a href="https://lists.mpi-forum.org/mailman/listinfo/mpiwg-rma" target="_blank" class="">https://lists.mpi-forum.org/<wbr class="">mailman/listinfo/mpiwg-rma</a></div></blockquote></div><br class=""></div><div class="m_-7488904098337738056_stretch"><span class="m_-7488904098337738056body-text-content">______________________________<wbr class="">_________________<br class="">mpiwg-rma mailing list<br class=""><a href="mailto:mpiwg-rma@lists.mpi-forum.org" target="_blank" class="">mpiwg-rma@lists.mpi-forum.org</a><br class=""><a href="https://lists.mpi-forum.org/mailman/listinfo/mpiwg-rma" target="_blank" class="">https://lists.mpi-forum.org/<wbr class="">mailman/listinfo/mpiwg-rma</a></span></div></div></blockquote></div></div>______________________________<wbr class="">_________________<br class="">mpiwg-rma mailing list<br class=""><a href="mailto:mpiwg-rma@lists.mpi-forum.org" target="_blank" class="">mpiwg-rma@lists.mpi-forum.org</a><br class=""><a href="https://lists.mpi-forum.org/mailman/listinfo/mpiwg-rma" target="_blank" class="">https://lists.mpi-forum.org/<wbr class="">mailman/listinfo/mpiwg-rma</a></div></blockquote></div><br class=""></div></div></div></div><br class="">______________________________<wbr class="">_________________<br class="">
mpiwg-rma mailing list<br class="">
<a href="mailto:mpiwg-rma@lists.mpi-forum.org" class="">mpiwg-rma@lists.mpi-forum.org</a><br class="">
<a href="https://lists.mpi-forum.org/mailman/listinfo/mpiwg-rma" rel="noreferrer" target="_blank" class="">https://lists.mpi-forum.org/<wbr class="">mailman/listinfo/mpiwg-rma</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br class=""><a href="mailto:jeff.science@gmail.com" target="_blank" class="">jeff.science@gmail.com</a><br class=""><a href="http://jeffhammond.github.io/" target="_blank" class="">http://jeffhammond.github.io/</a></div>
</div></div></div></div></div></div>
_______________________________________________<br class="">mpiwg-rma mailing list<br class=""><a href="mailto:mpiwg-rma@lists.mpi-forum.org" class="">mpiwg-rma@lists.mpi-forum.org</a><br class="">https://lists.mpi-forum.org/mailman/listinfo/mpiwg-rma</div></blockquote></div><br class=""></div></body></html>