[petsc-users] cached values
Justin Chang
jychang48 at gmail.com
Sun Apr 26 19:00:54 CDT 2015
Jed,
Thank you for the response. But where exactly are the values from
MatSetValues() stored or located? That is, are they in main memory, or are
they occupying space in the L1/L2/L3 cache?
Thanks,
Justin
On Sun, Apr 26, 2015 at 6:54 PM, Jed Brown <jed at jedbrown.org> wrote:
> Justin Chang <jychang48 at gmail.com> writes:
>
> > Hello everyone,
> >
> > Pardon me if this might be a PETSc 101 question, but what exactly is
> meant
> > when routines like MatSetValues() "caches the values"? Specifically, what
> > happens say, after I iterate through each element within the
> > ComputeJacobian() routine, when I call MatAssemblyBegin/End(). If there's
> > documentation or a paper somewhere that explains this that would be very
> > helpful, because I can't seem to find anything in the PETSc manual
> > describing this process in detail.
>
> The exact protocol probably isn't interesting unless you're trying to
> develop something similar, in which case you can read the source code.
> The basic idea is that there is a rendezvous so that each process can
> determine from which other processes it will need to receive values,
> followed by actually sending/receiving those values.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150426/3d24b655/attachment.html>
More information about the petsc-users
mailing list