[petsc-users] snes/examples/tutorials/ex3 x-window plot issue

Jed Brown jedbrown at mcs.anl.gov
Thu Apr 18 11:44:32 CDT 2013


"Zou (Non-US), Ling" <ling.zou at inl.gov> writes:
> I suppose it is right. The only thing which bothers me a little bit is the
> x-window plot. When I ran the code, I could see a x-window plot flashing on
> my screen and it's gone forever. I don't know if it is supposed to be like
> this, or I should see an x-window plot staying on my screen.

What options are you running with?

You should be able to do something like

  -snes_monitor_solution -draw_pause 1

It's probably flickering because it redraws once per iteration and that
problem is tiny so the iterations go very fast.


More information about the petsc-users mailing list