<html><head></head><body><div><span>Hello,</span></div><div><span><br></span></div><div><span>I try to use the Hypre boomeramg preconditioner but I keep getting type conversion errors like this one for PetscOptionsSetValue(...):</span></div><div><span></span><br></div><span>Fehler: »const char*« kann nicht nach »PetscOptions« {aka »_n_PetscOptions*«} umgewandelt werden<br>     PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true");<br><br>This is my setup:<br><br>    PCSetType(pc,PCHYPRE);<br>    PCHYPRESetType(pc,"boomeramg");<br>    PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true");<br><br></span><div><span>What's the correct syntax for PetscOptionsSetValue("-pc_hypre_boomeramg_no_CF","true"); ?</span></div><div><span><br></span></div><div><span><br></span></div><div><span>Klaus<br></span></div><div class="ydpf13723dfyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 10px;"></div></body></html>