[petsc-users] MatSetValue - Faster if guaranteed local processor?

Jed Brown jed at jedbrown.org
Fri May 8 16:24:43 CDT 2015


Ganesh Vijayakumar <ganesh.iitm at gmail.com> writes:

> Hello,
>
>    Is there any way I can get MatSetValue to run faster if I can guarantee
> that the entries are local to that processor?

Use MatSetValuesBlocked if relevant.  Determining on/off process is not
a bottleneck.  Profile carefully before assuming where the time is
spent.
-------------- 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/20150508/724e3249/attachment.pgp>


More information about the petsc-users mailing list