[petsc-users] matrix assembly

Jed Brown jed at jedbrown.org
Mon Nov 17 00:25:01 CST 2014


Fande Kong <fd.kong at siat.ac.cn> writes:

> Hi all,
>
> If I do a matrix assembly with the flag MAT_FLUSH_ASSEMBLY, will it involve
> any communications  across processors?

Yes, that's the point of this assembly mode.  You call it to flush the
stash of values that need to be sent to other processes, to prevent it
From using too much memory.  (Or, when you need to switch between
ADD_VALUES and INSERT_VALUES.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141116/1f68c824/attachment.pgp>


More information about the petsc-users mailing list