<div dir="ltr">
Hello all,<div><br></div><div>I am trying to use ex7 to solve series of generalized problem. The running commands are:<br><br>./ex7 -f1 petsc_stiff19.dat -f2 petsc_mass19.dat -mat_type sbaij -eps_gen_hermitian -eps_type krylovschur -<b>eps_smallest_magnitude</b>. -eps_monitor_conv -st_k sp_type bcgs -st_pc_type bjacobi -st_sub_pc_type icc -st_ksp_rtol 1.e-4 -eps_tol 1.e-4 -eps_nev 40 -st_type sinvert<div>
<br></div><div>It works fine, but when my problem contains zero eigenvalue, it fails to converge.</div><div><br></div><div>Supposedly, I should use <b>eps_target -0.1</b> instead of <b>eps_smallest_magnitude</b>.<b> </b>However<b> </b>if eps_target is used, I run into a memory issue:<br>
<br>PETSC ERROR: --------------------- Error Message ------------------------------------<br>PETSC ERROR: Argument out of range!<br>PETSC ERROR: New nonzero at (0,6) caused a malloc!<br>PETSC ERROR: ------------------------------------------------------------------------</div>
<div><br></div><div>Does anybody know how to solve this? Thanks! </div><div><br><div dir="ltr">Jifeng Zhao<div>PhD candidate at Northwestern University, US</div><div>Theoretical and Applied Mechanics Program</div></div>
</div></div></div>