Re: [petsc-users] "Must select a target sorting criterion if using shift-and-invert"

2017-10-23 Thread Fande Kong
Thanks Jose, I like this change. Fande On Mon, Oct 23, 2017 at 10:03 AM, Matthew Knepley wrote: > On Mon, Oct 23, 2017 at 11:18 AM, Jose E. Roman > wrote: > >> Changed. Hope it is clear now. >>

Re: [petsc-users] "Must select a target sorting criterion if using shift-and-invert"

2017-10-23 Thread Matthew Knepley
On Mon, Oct 23, 2017 at 11:18 AM, Jose E. Roman wrote: > Changed. Hope it is clear now. > https://bitbucket.org/slepc/slepc/commits/511900656a27a161c1df6fe2e42fd8 > d66d071800 Great, that is much clearer. Thanks, Matt > > Jose > > > El 21 oct 2017, a las 14:27,

Re: [petsc-users] "Must select a target sorting criterion if using shift-and-invert"

2017-10-23 Thread Jose E. Roman
Changed. Hope it is clear now. https://bitbucket.org/slepc/slepc/commits/511900656a27a161c1df6fe2e42fd8d66d071800 Jose > El 21 oct 2017, a las 14:27, Matthew Knepley escribió: > > On Sat, Oct 21, 2017 at 2:20 AM, Jose E. Roman wrote: > This was added in

Re: [petsc-users] "Must select a target sorting criterion if using shift-and-invert"

2017-10-21 Thread Matthew Knepley
On Sat, Oct 21, 2017 at 2:20 AM, Jose E. Roman wrote: > This was added in 3.8 to check the common case when people incorrectly > sets shift-and-invert with EPS_SMALLEST_MAGNITUDE. To compute smallest > eigenvalues with shift-and-invert the correct way is to set target=0 and >

Re: [petsc-users] "Must select a target sorting criterion if using shift-and-invert"

2017-10-21 Thread Jose E. Roman
This was added in 3.8 to check the common case when people incorrectly sets shift-and-invert with EPS_SMALLEST_MAGNITUDE. To compute smallest eigenvalues with shift-and-invert the correct way is to set target=0 and which=EPS_TARGET_MAGNITUDE. See for instance

Re: [petsc-users] "Must select a target sorting criterion if using shift-and-invert"

2017-10-20 Thread Matthew Knepley
On Fri, Oct 20, 2017 at 7:43 PM, Kong, Fande wrote: > Hi All, > > I am trying to solve a generalized eigenvalue problem (using SLEPc) with > "-eps_type krylovschur -st_type sinvert". I got an error message: "Must > select a target sorting criterion if using shift-and-invert".

[petsc-users] "Must select a target sorting criterion if using shift-and-invert"

2017-10-20 Thread Kong, Fande
Hi All, I am trying to solve a generalized eigenvalue problem (using SLEPc) with "-eps_type krylovschur -st_type sinvert". I got an error message: "Must select a target sorting criterion if using shift-and-invert". Not sure how to proceed. I do not quite understand this sentence. Fande,