<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; ">Hi all,<div><br></div><div>I've started to work on 3.1 items. The first one is to allow the look up of variables by name instead of having to iterate through all variables until you find the one you want (assuming you know the name in advance). What do people think of this for supporting that functionality:</div><div><br></div><div><div style="margin: 0px; ">MPI_T_CVAR_GET_INFO_NAMED</div><div style="margin: 0px; "><span class="Apple-tab-span" style="white-space:pre"> </span>IN <span class="Apple-tab-span" style="white-space:pre"> </span> name</div><div style="margin: 0px; "><span class="Apple-tab-span" style="white-space:pre"> </span>OUT cvar_index</div><div style="margin: 0px; "><span class="Apple-tab-span" style="white-space:pre"> </span>OUT<span class="Apple-tab-span" style="white-space:pre"> </span> verbosity</div><div style="margin: 0px; "> <span class="Apple-tab-span" style="white-space:pre"> </span>OUT datatype</div><div style="margin: 0px; "> OUT enumtype</div><div style="margin: 0px; "> <span class="Apple-tab-span" style="white-space:pre"> </span>OUT<span class="Apple-tab-span" style="white-space:pre"> </span> desc</div><div style="margin: 0px; "> INOUT desc_len</div><div style="margin: 0px; "> OUT bind</div><div style="margin: 0px; "> OUT scope</div><div style="margin: 0px; min-height: 16px; "><br></div><div style="margin: 0px; ">MPI_T_CVAR_GET_INFO_NAMED behaves similarly to MPI_T_CVAR_GET_INFO except that the lookup is done by control variable name instead of its index. All restrictions and requirements for MPI_T_CVAR_GET_INFO are the same for MPI_GET_CVAR_INFO_NAMED except that the cvar_index is now returned from the function, and name is an input.</div><div style="margin: 0px; min-height: 16px; "><br></div><div style="margin: 0px; min-height: 16px; "><br></div><div style="margin: 0px; ">Then define MPI_T_PVAR_GET_INFO_NAMED in a similar fashion.</div></div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">Thoughts? Objections?</div><div><br></div><div>Kathryn</div><div><br></div><div><br><div>
<div style="color: rgb(0, 0, 0); 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></body></html>