<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"> Hello Matt,<br>
Ok, something weird is going on. Some of my test cases
are behaving strangely (the output of the test in my previous
message is the expected behavior, but previously the test gave
different results). Let me figure out what is going on with the
tests before proceeding.<br>
<br>
Jared Crean<br>
<br>
On 11/03/2015 10:07 PM, Matthew Knepley wrote:<br>
</div>
<blockquote
cite="mid:CAMYG4GnbodQH-fzHNmHjCC1gCY98s1jgDXSy8xrmz+98muJ0Sw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Sat, Oct 31, 2015 at 7:52 PM,
Jared Crean <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jcrean01@gmail.com" target="_blank">jcrean01@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
I am trying to use PetscOptionsGetString to retrieve
the value of an option in the options database, but the
value returned in the last argument indicates the option
was not found. In the attached code (a modified version
of ksp example 2), the string "-ksp_pc_side" is passed in
as the argument name. If I run the code as<br>
<br>
./jc2 -pc_type ilu -ksp_pc_side right<br>
<br>
I get the output:<br>
<br>
option -ksp_pc_side was found<br>
</blockquote>
<div><br>
</div>
<div>You gave the options and the program says it was found.
What is the problem here?</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
from line 71 of the file. Petsc does not complain of
unused options when the program finishes. Am I using this
function incorrectly?<span class="HOEnZb"><font
color="#888888"><br>
<br>
Jared Crean<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">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>
</div>
</blockquote>
<br>
</body>
</html>