“spectral_transform” and "spectral_shift" parameters in eigenvalue solvers
I want to calculate "smallest real" eigenvalue of a pde, and I am using the “krylov-schur” method. The smallest eigenvalue is about -0.5.
1. without setting “spectral_
2. with “spectral_
What is indeed inside the “spectral_
And Always the best method to calculate one specific eigenvalue (such as largest magnitude, smallest magnitude) is by using power method or inverse power method. But I can not call "power", always get such errors:
Computing eigenvalues. This can take a minute.
[0]PETSC ERROR: -------
[0]PETSC ERROR: Wrong value of eps->which!
[0]PETSC ERROR: -------
[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29 13:45:54 CDT 2011
[0]PETSC ERROR: See docs/changes/
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: -------
[0]PETSC ERROR: Unknown Name on a linux-gnu named vincehouhou-
[0]PETSC ERROR: Libraries linked from /build/
[0]PETSC ERROR: Configure run at Tue Jun 12 21:14:38 2012
[0]PETSC ERROR: Configure options --with-
[0]PETSC ERROR: -------
[0]PETSC ERROR: EPSSetUp_Power() line 71 in src/eps/
[0]PETSC ERROR: EPSSetUp() line 138 in src/eps/
[0]PETSC ERROR: EPSSolve() line 122 in src/eps/
Eigenvalue solver (power) converged in 0 iterations.
Traceback (most recent call last):
File "power_groundE.py", line 81, in <module>
r, c, rx, cx = eigensolver.
File "/usr/lib/
lr, lc = self._get_
I meet similar errors when I try to use "subspace", "lanczos" and "lapack" method, What is the error?
My system is Ubuntu 12.10.
Thanks~~
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Marie Rognes
- Solved:
- Last query:
- Last reply: