Skip to content

spectrum slicing slepc4py issue: No method getinertia for Mat of type seqaij #3810

Discussion options

You must be logged in to vote

I don't know why, but if I do the following (convert MAT to 'mpisbaij'), it works well:

 Bsc, Msc = B.M.handle, M.M.handle
 B_petsc = Bsc.convert('mpisbaij')
 M_petsc = Msc.convert('mpisbaij')
 # create SLEPc eigensolver
 Eps = SLEPc.EPS().create()
 Eps.setOperators(B_petsc, M_petsc)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@qlyan913
Comment options

Comment options

You must be logged in to vote
2 replies
@connorjward
Comment options

@qlyan913
Comment options

Answer selected by connorjward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants