<div dir="ltr">Hello,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 8, 2015 at 5:24 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Ganesh Vijayakumar <<a href="mailto:ganesh.iitm@gmail.com">ganesh.iitm@gmail.com</a>> writes:<br>
<br>
> Hello,<br>
><br>
> Is there any way I can get MatSetValue to run faster if I can guarantee<br>
> that the entries are local to that processor?<br>
<br>
</div></div>Use MatSetValuesBlocked if relevant. Determining on/off process is not<br>
a bottleneck. Profile carefully before assuming where the time is<br>
spent.<br>
</blockquote></div><br></div><div class="gmail_extra">Thanks. I have a sparse matrix. The current access order doesn't allow easy blocking of the values being set. <br><br></div><div class="gmail_extra">Thanks for the advice on profiling too. I am working towards it. I was initially working on getting it working.<br><br></div><div class="gmail_extra">ganesh<br></div><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature">ganesh<br></div>
</div></div>