<div dir="ltr">Hi Hong,<div><br></div><div>Thanks a lot. -st_redundant_pc_factor_fill does work for me. And thank you for presenting how you found the solution. It is helpful.</div><div><br></div><div>Cheers,</div><div>Jifeng</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 10:34 PM, Hong Zhang <span dir="ltr"><<a href="mailto:hzhang@mcs.anl.gov" target="_blank">hzhang@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You may try -st_redundant_pc_factor_fill <fill>.<br>
Here is how I found the option using<br>
slepc-3.4.4/src/eps/examples/tutorials/ex13.c:<br>
1)<br>
./ex13 -info | |grep fill<br>
[0] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 2.95217 or use<br>
<br>
2)<br>
./ex13 -help |grep fill<br>
-st_redundant_pc_factor_fill <5>: Expected non-zeros in factored<br>
matrix (PCFactorSetFill)<br>
-st_redundant_pc_factor_reuse_fill: <FALSE> Use fill from previous<br>
factorization (PCFactorSetReuseFill)<br>
<br>
i.e., the default fill=5, sufficient for this case. There is no need<br>
to set as 2.95217. If you want to, do<br>
./ex13 -st_redundant_pc_factor_fill 2.95217 -info<br>
...<br>
[0] MatLUFactorSymbolic_SeqAIJ(): Reallocs 0 Fill ratio:given 4 needed 2.95217<br>
[0] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 2.95217 or use<br>
[0] MatLUFactorSymbolic_SeqAIJ(): PCFactorSetFill(pc,2.95217);<br>
<br>
As you see, Reallocs 0, good performance.<br>
<span class="HOEnZb"><font color="#888888"><br>
Hong<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, Jul 3, 2014 at 9:45 PM, jifeng zhao<br>
<<a href="mailto:jifengzhao2015@u.northwestern.edu">jifengzhao2015@u.northwestern.edu</a>> wrote:<br>
> Hi all,<br>
><br>
> I am using SLEPC to solve an eigenvalue problem.<br>
><br>
> I tried to add -info at run time. And I get instruction:<br>
><br>
> MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 3.87526 or use<br>
> MatLUFactorSymbolic_SeqAIJ(): PCFactorSetFill(pc,3.87526);<br>
> MatLUFactorSymbolic_SeqAIJ(): for best performance.<br>
><br>
> However, when I tried to add -st_pc_factor_fill 3.87526 at run time. It is<br>
> not recognized at all!<br>
><br>
> WARNING! There are options you set that were not used!<br>
> WARNING! could be spelling mistake, etc!<br>
> Option left: name:-st_pc_factor_fill value: 3.87526<br>
><br>
> Same things happened if I tried pc_factor_fill 3.87526<br>
><br>
> Does anybody know how to change the fill of factorization for SLEPC?<br>
><br>
> Thanks,<br>
> Jifeng Zhao<br>
><br>
> --<br>
> Jifeng Zhao<br>
> PhD candidate at Northwestern University, US<br>
> Theoretical and Applied Mechanics Program<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Jifeng Zhao<div>PhD candidate at Northwestern University, US</div><div>Theoretical and Applied Mechanics Program</div></div>
</div>