[petsc-users] EPSKrylovSchurSetDetectZeros() not working

Hassan Md Mahmudulla mhassan at miners.utep.edu
Sun Jul 24 12:50:30 CDT 2016


Hi,

I am solving a generalized eigenvalue problem using spectrum slicing. I am using this example (http://slepc.upv.es/documentation/current/src/eps/examples/tutorials/ex25.c.html) as it is. Part of the code is:

ierr =EPSKrylovSchurSetDetectZeros<http://slepc.upv.es/documentation/current/docs/manualpages/EPS/EPSKrylovSchurSetDetectZeros.html#EPSKrylovSchurSetDetectZeros>(eps,PETSC_TRUE);CHKERRQ(ierr);



But I am getting the following:

[0]PETSC ERROR: Mismatch between number of values found and information from inertia, consider using EPSKrylovSchurSetDetectZeros()
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.

It seems the input PETSC_TRUE is not working for EPSKrylovSchurSetDetectZeros(). Any idea?


M Hassan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160724/142a8750/attachment.html>


More information about the petsc-users mailing list