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 )
