[petsc-users] KSP iteration information out put as an txt file

Matthew Knepley knepley at gmail.com
Tue Jun 24 06:50:14 CDT 2014


On Tue, Jun 24, 2014 at 2:43 AM, Oo <wumeng07maths at qq.com> wrote:

>
> Dear All,
>
> How to put out the KSP iteration info. as an .txt file?
>
> When I used "-ksp_gmres_restart 200 -ksp_max_it 200
> -ksp_monitor_true_residual -ksp_monitor_singular_value",
>

Give the filename as an argument -ksp_monitor_true_residual monitor.txt

  Thanks,

     Matt


> the information of KSP iterations is printed on the terminal.
> How can I put them out to an independent file (like txt file, or other
> form)?
>
> 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/20140624/d3bf4191/attachment.html>


More information about the petsc-users mailing list