[petsc-users] Interior eigenvalues with slepc and shell matrix

John Travers jtravs at gmail.com
Thu Aug 7 09:43:47 CDT 2014


On 07 Aug 2014, at 14:31, Jose E. Roman <jroman at dsic.upv.es> wrote:

> 
> El 07/08/2014, a las 14:05, John Travers escribió:
> 
>> On 07 Aug 2014, at 13:30, Jose E. Roman <jroman at dsic.upv.es> wrote:
>> 
>>> -st_type precond
>> 
>> I tried that and got:
>> 
>> [0]PETSC ERROR: No support for this operation for this object type
>> [0]PETSC ERROR: EPSGD only works with KSPPREONLY
>> 
>> So I set:
>> -st_ksp_type preonly
>> 
>> and get:
>> 
>> [0]PETSC ERROR: No support for this operation for this object type
>> [0]PETSC ERROR: ST does not have apply
>> 
>> My full command line is currently: 
>> 
>> -eps_nev 1 -eps_tol 1e-10 -eps_type gd -st_type precond -st_ksp_type preonly
>> 
>> I also tried
>> 
>> -st_matmode shell
>> 
>> But it made no difference.
>> 
>> Really, thank you very much for your patience. I’m trying to educate myself
>> about slepc (which is awesome BTW, so thank you), but there are a huge
>> number of options!
>> 
>> 
> 
> These options work well with SLEPc's ex1.c, so you must have something different in your source code. Send the code excerpt that sets EPS/ST options.
> 
> Jose
> 

Yes, of course you were correct. I was doing something strange with the ST object. It now works. Thanks again for your help!
John



More information about the petsc-users mailing list