<div>Hi Satish<br>This would print out the options that were not used.</div>
<div>What I'm looking for is a way of accessing them inside the program (as in going through an array of unused options or something similar)</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Yaron</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/15/06, <b class="gmail_sendername">Satish Balay</b> &lt;<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Tue, 15 Aug 2006, Yaron Kretchmer wrote:<br><br>&gt; Hi All<br>&gt; Is there a way of determining programatically which commandline options are
<br>&gt; used/not used within petsc?<br><br>You can run the code with the additional option '-options_left'<br><br>or add the following line of code - after PetscInitialize()<br><br>ierr = PetscOptionsSetValue(&quot;-options_left&quot;,PETSC_NULL);CHKERRQ(ierr);
<br><br>&gt; Alternatively, is there a file which contains all legal commandline options?<br>&gt; If so, what is it and what is the format?<br><br>The options are distributed all over the code. The best way to get<br>them is to run the appliation code with '-help' option - and it prints
<br>all the relavent options to that code run.<br><br>Satish<br><br></blockquote></div><br>