On Jan 27, 2014, at 10:17 AM, Torquil Macdonald Sørensen <[email protected]> wrote:
> The window appeared and dissapeared, so I just assumed that something was > plotted. When the option is handled in KSPSetFromOptions() the window is created. It is then never used and then destroyed when the program ends > But probably not, for the reason you mention. > > Thanks! > > Best regards > Torquil Sørensen > > > > On 27 January 2014 16:57, Barry Smith <[email protected]> wrote: > > On Jan 27, 2014, at 5:59 AM, Torquil Macdonald Sørensen <[email protected]> > wrote: > > > Hi! > > > > I'm using todays Petsc git master on Linux and tried: > > > > ./prog -mg_coarse_ksp_plot_eigenvalues -draw_pause -1 > > > > but the plot window simply appears and dissappears at once. > > Are you sure this command actually does anything? By default the coarse > solver is an exact solver which cannot compute eigenvalues. > > > > On the other hand, if I do > > > > ./prog -mg_levels_1_est_ksp_gmres_krylov_monitor -draw_pause -1 > > > > it works as expected, i.e. I can click on the plot to continue. > > > > In addition, the option "-draw_pause" does not appear in the list of > > options when I run > > > > ./prog -help > > > > It prints a lot of Petsc options, but not -draw_pause.I got the idea of > > trying -draw_pause from here: > > > > http://lists.mcs.anl.gov/pipermail/petsc-users/2013-April/017123.html > > > > Best regards > > Torquil Sørensen > > > >
