<div dir="ltr"><div><div><div><div>Hi Jose, all,<br><br></div>I tried that too, it is telling the same error of "Detected Zero pivot in LU factorization". <br></div>My matrix B in AX=lambda BX has large no. of zeros and is singular. <br><br></div>Is there another way ? <br><br></div>Venkatesh<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 9:02 PM, Jose E. Roman <span dir="ltr"><<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
El 13/05/2015, a las 17:28, venkatesh g escribió:<br>
<br>
> Dear All,<br>
><br>
> I am having a block matrix Eigenvalue problem AX = lambda BX<br>
><br>
> My B is singular, it is a block matrix and only one block has non-zero values.<br>
><br>
> Matlab Eigs is giving the result.<br>
><br>
> I am using option: "./ex7 -f1 A1 -f2 B1 -st_type sinvert"<br>
><br>
> Result is: Detected zero pivot in LU factorization.<br>
><br>
> The ex7 is an example from SLEPc.<br>
><br>
> Pls advice what to do ?<br>
><br>
> cheers,<br>
> Venkatesh<br>
><br>
><br>
<br>
</div></div>If you know where your wanted eigenvalues are, set the target value, for instance:<br>
./ex7 -f1 A1 -f2 B1 -st_type sinvert -eps_target 0.5<br>
<span class="HOEnZb"><font color="#888888"><br>
Jose<br>
<br>
</font></span></blockquote></div><br></div>