<div dir="ltr"><div><div><div>Hi ALL,<br><br></div>I am solving a generalized eigenvalue problem Ax=\lambda Bx. I want to retrieve matrices A and B from EPS, but got the following errors:<br><br>[0]PETSC ERROR: No support for this operation for this object type<br>[0]PETSC ERROR: Cannot retrieve original matrices (have been modified)<br>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Release Version 3.7.5, unknown <br>[0]PETSC ERROR: ./ex14 on a arch-darwin-c-debug named FN604208 by kongf Mon Feb 13 15:29:33 2017<br>[0]PETSC ERROR: Configure options --with-clanguage=cxx --with-shared-libraries=1 --with-blaslapack=1 --with-mpi=1 --download-parmetis=1 --download-metis=1 --with-debugging=yes --with-c2html=0 --download-hypre=1 --download-superlu_dist=1 PETSC_ARCH=arch-darwin-c-debug<br>[0]PETSC ERROR: #1 STGetOperators() line 308 in /Users/kongf/projects/slepc/src/sys/classes/st/interface/stfunc.c<br>[0]PETSC ERROR: #2 EPSGetOperators() line 319 in /Users/kongf/projects/slepc/src/eps/interface/epssetup.c<br><br><br></div>My question is how to lock the original matrices I passed to EPS.  "-st_matmode copy" does not help.<br><br></div>Fande Kong,<br><div><div><br></div></div></div>