<div dir="ltr"><div class="gmail_extra">Sonya :</div><div class="gmail_extra">Test slpec example first, e.g.,</div><div class="gmail_extra"><div class="gmail_extra">slepc-3.3-p3/src/eps/examples/tutorials>grep GetEigenvector *.c</div>
<div class="gmail_extra">ex12.c:      ierr = EPSGetEigenvector(eps,i,X[i],PETSC_NULL);CHKERRQ(ierr);</div><div class="gmail_extra">ex12.c:      ierr = EPSGetEigenvectorLeft(eps,i,Y[i],PETSC_NULL);CHKERRQ(ierr);</div><div class="gmail_extra">
ex7.c:      ierr = EPSGetEigenvector(eps,i,xr,xi);CHKERRQ(ierr);</div><div class="gmail_extra"><br></div><div class="gmail_extra">i.e., ex7.c and ex12.c call EPSGetEigenvector().</div><div class="gmail_extra"><br></div><div class="gmail_extra">
Hong</div><div class="gmail_extra"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Dear all,<br>
<br>
I experience a difficulty with retrieving the eigenvectors <br>
obtained after eigen solution of generalized eigenvalue A*X=lambda*B*X<br>
problem.The Slepc nicely finds the eigenvalues but doesn't retrieve the <br>
eigenvectors after calling the EPSGetEigenvector(eps,1,vec,vec1). I also <br>
tried the EPSGetEigenpairs function but neither of them <br>
<br>
I attach the main program codes.<br>
<br>
Your help will be appreciated.<br>
<br>
Regards,                                          </blockquote></div><br></div></div>