On Thu, Aug 30, 2012 at 11:49 AM, Arun Kamath <span dir="ltr"><<a href="mailto:arun.kamath.m@gmail.com" target="_blank">arun.kamath.m@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok.. but as I follow it up with :<br>
ierr=PCSetFromOptions(pc);<br>
ierr= PetscOptionsSetValue("-pc_hypre_boomeramg_relax_type_all","0"); CHKERRQ(ierr); ,<br></blockquote><div><br></div><div>1) Form the code you would do</div><div> </div><div> ierr= PetscOptionsSetValue("-pc_hypre_boomeramg_relax_type_all","0"); CHKERRQ(ierr); ,</div>
<div> ierr=PCSetFromOptions(pc);</div><div><div><br></div></div><div>2) Why would you do that? I thought you were going to use an options file as Barry suggested?</div><div><br></div><div> Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
on execution, the option is not recognized, as in:<br>
<br>
WARNING! There are options you set that were not used!<br>
WARNING! could be spelling mistake, etc!<br>
Option left: name:-pc_hypre_boomeramg_relax_type_all value: 0<br>
<br>
is returned.<br>
<br>
I used the value of zero to employ the Jacobi smoother defined in the Hypre Ref manual.<br>
<br>
So could you please let me know what could I do make it work?<br>
(Since I want to access all solvers and options through a 'control'/ 'config' file, I can't ask for the option at the the command prompt )<br>
Thanks.<br>
<br>
<br>
<br>
<br>
</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<br>