[petsc-users] Question about dm_view

Matthew Knepley knepley at gmail.com
Wed May 28 14:18:58 CDT 2014


On Wed, May 28, 2014 at 2:13 PM, Sun, Hui <hus003 at ucsd.edu> wrote:

>  Do I have to turn it on thru ./configure and then make everything again?
>

No. You should see that option in the output of -help. By "turned on" I
meant that
the value of the option is FALSE.

  Thanks,

     Matt


>  ------------------------------
> *From:* Matthew Knepley [knepley at gmail.com]
> *Sent:* Wednesday, May 28, 2014 12:10 PM
> *To:* Sun, Hui
> *Cc:* Barry Smith; petsc-users at mcs.anl.gov
> *Subject:* Re: [petsc-users] Question about dm_view
>
>    On Wed, May 28, 2014 at 1:28 PM, Sun, Hui <hus003 at ucsd.edu> 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 [bsmith at mcs.anl.gov]
>> Sent: Wednesday, May 28, 2014 11:25 AM
>> To: Sun, Hui
>> Cc: petsc-users at mcs.anl.gov
>> 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 <hus003 at ucsd.edu> 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
>



-- 
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/20140528/bbe2d2fa/attachment-0001.html>


More information about the petsc-users mailing list