<div dir="ltr">Looking at the message queue graph in Totalview, it seems that I'm running up the number of persistent communications when I try to resize a vector by duplicating, copying, destroying, and calling VecCreateGhost. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 2:42 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On Wed, Jun 19, 2013 at 6:24 PM, John Mousel <span dir="ltr"><<a href="mailto:john.mousel@gmail.com" target="_blank">john.mousel@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Is it legal to destroy a ghosted vector if it has been used in VecDuplicate?<br>
</div></div></div></div></div></div></div></blockquote><div><br></div></div><div>This is fine.</div><div><br></div><div> MAtt</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div></div>Something like:<br><br></div>VecCreateGhost(...,vec1)<br></div>VecDuplicate(vec1,vec2)<br>
</div>VecDuplicate(vec1,vec3)<br>VecDestroy(vec1)<br></div>VecAXPY(vec2,1.0,vec3)<br><br></div>Is this legal or are the scatters left hanging in the ether?<span><font color="#888888"><br><div><div><div><br>
<br></div><div>John<br></div></div></div></font></span></div>
</blockquote></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <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
</font></span></div></div>
</blockquote></div><br></div>