<br><div class="gmail_quote">On Thu, Mar 24, 2011 at 3:23 PM, Verena Kuhlemann <span dir="ltr"><<a href="mailto:vkuhlem@emory.edu">vkuhlem@emory.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello!<br>
<br>
I am trying to set some options with PetscOptionsSetValue. In particular,<br>
I want to set some options for the pilut preconditioner in hypre.<br>
Here is how I trying to set the factor row size:<br>
<br>
ierr = PCSetType(subpc, PCHYPRE);CHKERRQ(ierr);<br>
ierr = PCHYPRESetType(subpc,"pilut");CHKERRQ(ierr);<br>
ierr = PetscOptionsSetValue("-pc_hypre_pilut_factorrowsize","10");CHKERRQ(ierr);<br></blockquote><div><br></div><div>Your code suggests it should be -sub_pc_hypre_pilut_factorrowsize. Why would you use</div>
<div>pilut on a subpc?</div><div><br></div><div> Thanks,</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;">
ierr = PCSetFromOptions(subpc);CHKERRQ(ierr);<br>
<br>
Unfortunately, this does not seem to work. I get a warning that the option -pc_hypre_pilut_factorrowsize<br>
was not used.<br>
<br>
I would be thankful for any help.<br>
<br>
Thanks,<br><font color="#888888">
Verena<br>
</font></blockquote></div><br><br clear="all"><br>-- <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<br>