[petsc-users] Convergence_Eigenvalues_k=3

Dave May dave.mayhem23 at gmail.com
Thu Apr 24 17:27:17 CDT 2014


Absolutely not!
Run your code again with the command line args Barry suggested.

./my.app -ksp_monitor_true_residual -ksp_monitor_singular_value

As long as you have called KSPSetFromOptions() (which from your code
snippet it seems you have) these options will take effect.





On 25 April 2014 00:24, Oo <wumeng07maths at qq.com> wrote:

>
> Configure PETSC again?
>
> ------------------ Original ------------------
> *From: * "Dave May";<dave.mayhem23 at gmail.com>;
> *Send time:* Friday, Apr 25, 2014 6:20 AM
> *To:* "Oo "<wumeng07maths at qq.com>;
> *Cc:* "Barry Smith"<bsmith at mcs.anl.gov>; "Matthew Knepley"<
> knepley at gmail.com>; "petsc-users"<petsc-users at mcs.anl.gov>;
> *Subject: * Re: [petsc-users] Convergence_Eigenvalues_k=3
>
> On the command line
>
>
> On 25 April 2014 00:11, Oo <wumeng07maths at qq.com> wrote:
>
>>
>> Where should I put "
>> -ksp_monitor_true_residual -ksp_monitor_singular_value " ?
>>
>> Thanks,
>>
>> Meng
>>
>>
>> ------------------ Original ------------------
>> *From: * "Barry Smith";<bsmith at mcs.anl.gov>;
>> *Date: * Apr 25, 2014
>> *To: * "Matthew Knepley"<knepley at gmail.com>;
>> *Cc: * "Oo "<wumeng07maths at qq.com>; "petsc-users"<petsc-users at mcs.anl.gov>;
>>
>> *Subject: * Re: [petsc-users] Convergence_Eigenvalues_k=3
>>
>>
>>    There are also a great deal of “bogus” numbers that have no meaning
>> and many zeros. Most of these are not the eigenvalues of anything.
>>
>>    Run the two cases with -ksp_monitor_true_residual
>> -ksp_monitor_singular_value and send the output
>>
>>   Barry
>>
>>
>> On Apr 24, 2014, at 4:53 PM, Matthew Knepley <knepley at gmail.com> wrote:
>>
>> > On Thu, Apr 24, 2014 at 12:57 PM, Oo <wumeng07maths at qq.com> wrote:
>> >
>> > Hi,
>> >
>> > For analysis the convergence of linear solver,
>> > I meet a problem.
>> >
>> > One is the list of Eigenvalues whose linear system which has a
>> convergence solution.
>> > The other is the list of Eigenvalues whose linear system whose solution
>> does not converge (convergenceReason=-3).
>> >
>> > These are just lists of numbers. It does not tell us anything about the
>> computation. What is the problem you are having?
>> >
>> >   Matt
>> >
>> > Do you know what kind of method can be used to obtain a convergence
>> solution for our non-convergence case?
>> >
>> > Thanks,
>> >
>> > Meng
>> >
>> >
>> >
>> > --
>> > What most experimenters take for granted before they begin their
>> experiments is infinitely more interesting than any results to which their
>> experiments lead.
>> > -- Norbert Wiener
>>
>> .
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140425/546d2e50/attachment.html>


More information about the petsc-users mailing list