<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; ">
<br>
<div>
<div>On Aug 27, 2013, at 1:09 AM, Kathryn Mohror <<a href="mailto:kathryn@llnl.gov">kathryn@llnl.gov</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><br>
Also for PVAR start, what if there are no handles associated with a session and MPI_T_PVAR_ALL_HANDLES is used?  Do we return SUCCESS or ERR_PVAR_NO_STARTSTOP?<br>
</blockquote>
<br>
Hm. I think this is a separate ticket, yes? And I would think returning the error code would be more helpful than success. However, I can see the other side too, that success makes sense, since nothing erroneous actually happened.<br>
</blockquote>
<br>
Here is what the text says:<br>
<br>
If the constant MPI_T_PVAR_ALL_HANDLES is passed in handle, the MPI implementation attempts to start all variables within the session identified by the parameter session for which handles have been allocated.<br>
<br>
For me this reads as returning SUCCESS since all variables, which had handles allocated, have been reset. Granted, we could be more explicit.<br>
<br>
(the same applies to stop and reset as well)<br>
</blockquote>
<div><br>
</div>
I am now on the SUCCESS side of the fence. Does it need to be clarified as an errata? I would suggest (from 3.0 clean doc):</div>
<div><br>
</div>
<div>page 580, line 41: </div>
<div>
<div class="page" title="Page 610">
<div class="layoutArea">
<div class="column">
<p><span style="font-size: 11.000000pt; font-family: 'CMR10'">In this case, the routine returns
</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">MPI</span><span style="font-size: 10.000000pt; font-family: 'CMTT10'">_</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">SUCCESS
</span><span style="font-size: 11.000000pt; font-family: 'CMR10'">if all variables are started successfully, otherwise
</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">MPI</span><span style="font-size: 10.000000pt; font-family: 'CMTT10'">_</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">T</span><span style="font-size: 10.000000pt; font-family: 'CMTT10'">_</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">ERR</span><span style="font-size: 10.000000pt; font-family: 'CMTT10'">_</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">PVAR</span><span style="font-size: 10.000000pt; font-family: 'CMTT10'">_</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">NO</span><span style="font-size: 10.000000pt; font-family: 'CMTT10'">_</span><span style="font-size: 10.000000pt; font-family: 'CMSS10'">STARTSTOP
</span><font face="CMR10" size="3">is returned. MPI_SUCCESS is also returned if no handles are valid for session and MPI_T_PVAR_ALL_HANDLES is passed in handle.</font><font face="CMR10" size="3"> </font></p>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Hmm - I fear we would have to be even more explicit: MPI_SUCCESS is also returned if MPI_T_PVAR_ALL_HANDLES is passed in handles and if no handles are valid for session or all valid handles represent continuous (read only for reset) variables.</div>
<div><br>
</div>
<div>Martin</div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div class="page" title="Page 610">
<div class="layoutArea">
<div class="column"></div>
</div>
</div>
</div>
<div>Same for 581, line 13 and page 582, line 25. </div>
<div><br>
</div>
<div><br>
</div>
<div>
<blockquote type="cite"><br>
Martin<br>
<br>
<br>
<br>
<br>
<blockquote type="cite"><br>
<blockquote type="cite"><br>
<blockquote type="cite">and 387<br>
</blockquote>
<br>
Looks good.  :-)<br>
<br>
<blockquote type="cite">due to lack of time (I blame Fortran!) <br>
</blockquote>
<br>
Long live Fortran 2028!<br>
</blockquote>
<br>
:-)<br>
<br>
Kathryn<br>
<br>
<blockquote type="cite"><br>
-- <br>
Jeff Squyres<br>
<a href="mailto:jsquyres@cisco.com">jsquyres@cisco.com</a><br>
For corporate legal information go to: <a href="http://www.cisco.com/web/about/doing_business/legal/cri/">
http://www.cisco.com/web/about/doing_business/legal/cri/</a><br>
<br>
_______________________________________________<br>
mpiwg-tools mailing list<br>
<a href="mailto:mpiwg-tools@lists.mpi-forum.org">mpiwg-tools@lists.mpi-forum.org</a><br>
http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools<br>
</blockquote>
<br>
______________________________________________________________<br>
Kathryn Mohror, <a href="mailto:kathryn@llnl.gov">kathryn@llnl.gov</a>, <a href="http://people.llnl.gov/mohror1">
http://people.llnl.gov/mohror1</a><br>
CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mpiwg-tools mailing list<br>
<a href="mailto:mpiwg-tools@lists.mpi-forum.org">mpiwg-tools@lists.mpi-forum.org</a><br>
<a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools</a><br>
</blockquote>
<br>
_______________________________________________<br>
mpiwg-tools mailing list<br>
<a href="mailto:mpiwg-tools@lists.mpi-forum.org">mpiwg-tools@lists.mpi-forum.org</a><br>
<a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools</a><br>
</blockquote>
</div>
<br>
<div>
<div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>______________________________________________________________<br>
Kathryn Mohror, <a href="mailto:kathryn@llnl.gov">kathryn@llnl.gov</a>, <a href="http://people.llnl.gov/mohror1">http://people.llnl.gov/mohror1</a><br>
CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA</div>
<div><br>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
_______________________________________________<br>
mpiwg-tools mailing list<br>
<a href="mailto:mpiwg-tools@lists.mpi-forum.org">mpiwg-tools@lists.mpi-forum.org</a><br>
http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools</blockquote>
</div>
<br>
</body>
</html>