Thanks, now I get it working. -Hui ________________________________________ From: Barry Smith [[email protected]] Sent: Wednesday, May 28, 2014 1:12 PM To: Sun, Hui Cc: Matthew Knepley; [email protected] Subject: Re: [petsc-users] Question about dm_view
On May 28, 2014, at 2:13 PM, Sun, Hui <[email protected]> wrote: > Do I have to turn it on thru ./configure and then make everything again? No, just run the program with the option. For example if there is printed -dm_view_draw <false> then run the program with -dm_view_draw true Barry > > From: Matthew Knepley [[email protected]] > Sent: Wednesday, May 28, 2014 12:10 PM > To: Sun, Hui > Cc: Barry Smith; [email protected] > Subject: Re: [petsc-users] Question about dm_view > > On Wed, May 28, 2014 at 1:28 PM, Sun, Hui <[email protected]> wrote: > Thanks Barry for quick reply. After I type ./ex5 -help | grep view, it comes > out a list of options related to _view, all of which have the tag <FALSE>, > what does this mean? > > The <FALSE> is the current value. They are all false because you have not > turned them on. IF you are using the release version, > the viewing option is -da_view. The -dm_view is the new version which we are > about to release. > > Thanks, > > Matt > > ________________________________________ > From: Barry Smith [[email protected]] > Sent: Wednesday, May 28, 2014 11:25 AM > To: Sun, Hui > Cc: [email protected] > Subject: Re: [petsc-users] Question about dm_view > > Run as./ex5 -help | grep view to see the possibilities. It depends on > PETSc version number. When using the graphics want you generally want a > -draw_pause -1 to stop that program at the graphic otherwise it pops up and > disappears immediately. > > Barry > > > On May 28, 2014, at 1:21 PM, Sun, Hui <[email protected]> wrote: > > > Hello, I'm new to PETSc. I'm reading a tutorial slide given in Imperial > > College from this site: Slides. In slide page 28, there is description of > > viewing the DA. I'm testing from my MAC the same commands listed on that > > page, for example, ex5 -dm_view, nothing interesting happen except the > > Number of Newton iterations is outputted. I'm expecting that the PETSc > > numbering would show up as a graphic window or something. Can anyone tell > > me what's missing here? Thank you! ( Hui ) > > > > > -- > 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
