<div dir="ltr">On Fri, Apr 5, 2013 at 9:53 AM, Derek Gaston <span dir="ltr"><<a href="mailto:friedmud@gmail.com" target="_blank">friedmud@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On Tue, Apr 2, 2013 at 12:09 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">    You can use PetscGetArgs() followed by by PetscOptionsInsert(). Let us know if you have any troubles with this.<br>

</blockquote><div><br></div><div>Hmmm... any chance of getting a version of that function that takes an MPI_Comm?  It is using PETSC_COMM_WORLD implicitly inside it.... and I need to call it asynchronously on sub-communicators.</div>
</div></div></div></blockquote><div><br></div><div style>I don't think we would put that in the interface since it would allow inconsistencies among options. You can</div><div style>call PetscOptionsInsertString() yourself to manage that.</div>
<div style><br></div><div style>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div>For now I have it working by swapping out PETSC_COMM_WORLD with my sub-communicator before calling that function.... but that's less than ideal ;-)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>

Derek</div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>