I am pro collective since I can't envision depending on the lack on synchronization.<div><br></div><div> Matt<br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 7:06 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@59a2.org">jed@59a2.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I would like to make DMDAGetISLocalToGlobalMapping() DM-level functionality since it is an essential ingredient in the MatGetLocalSubMatrix-based assembly, but it's not an essential part of how every conceivable DM functions. I would rather allocate that memory lazily so that not every user is required to pay for it (e.g. when they don't even have a matrix), but creating an ISLocalToGlobalMapping is a collective operation<div>
(somewhat strangely, because only the rarely used inversion of the map is a collective operation). This means that either DMGetLocalToGlobalMapping becomes a collective operation, or everyone needs to pay for it to exist? Thoughts?</div>
<div><br></div><font color="#888888"><div>Jed</div>
</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>
</div>