[petsc-users] Getting n largest and m smallest eigenvalues from SLEPc at the same time

Afrah Najib afrah.nacib at gmail.com
Mon May 27 04:36:16 CDT 2019


Hi,

I have very large matrices and limited CPU hours and I want to get the
first n largest and m smallest eigenvalues form these matrices using SLEPc
without calculating all of them.

I tried with this command :

 mpirun -n 2 ./ex4 -file bcsstk17.bin -eps_max_it 10000 -eps_ncv 24
-eps_tol 1.0e-8  -eps_type gd  -eps_nev 6 -eps_largest_real
-eps_smallest_real

but it returns the first smallest eigenvalues only.

Any idea,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190527/17722403/attachment.html>


More information about the petsc-users mailing list