<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> </div>
<div>Thanks</div>
<div>Yaron</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 8/15/06, <b class="gmail_sendername">Satish Balay</b> <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> 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>> Hi All<br>> Is there a way of determining programatically which commandline options are
<br>> 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("-options_left",PETSC_NULL);CHKERRQ(ierr);
<br><br>> Alternatively, is there a file which contains all legal commandline options?<br>> 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>