[petsc-dev] Lower memory DMDA

Matthew Knepley knepley at gmail.com
Wed May 8 07:42:01 CDT 2013


On Wed, May 8, 2013 at 7:39 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> Matthew Knepley <knepley at gmail.com> writes:
>
> > Well, the scatter operations are collective, so making creation lazy here
> > seems fine.
> > I have no problem forcing a setup of local-to-global since I do not think
> > many people
> > use it directly.
>
> It gets added to any Mat or Vec that gets created.  Any code that uses
> VecSetValuesLocal() or MatSetValuesStencil() would fail without it.
>

That is fine with me, as long as the error message is understandable.
However,
MatSetValuesStencil() is pretty common. Should we make a "low memory" flag,
and make early creation the default?

   Matt

-- 
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-dev/attachments/20130508/730555cd/attachment.html>


More information about the petsc-dev mailing list