<div dir="ltr">It is square. If so, I will use <span style="font-size:13px">DMCreateGlobalVector.</span><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">Thanks!</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">Gianluca</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 9:25 AM, 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"><span class="">Gianluca Meneghello <<a href="mailto:gianmail@gmail.com">gianmail@gmail.com</a>> writes:<br>
<br>
> I need both right and left vectors for use in a SLEPc SVD decomposition; it<br>
> is my understanding that the correct layout is obtained with MatCreateVecs<br>
> and that only the layout for the right vector is created with<br>
> DMCreateGlobalVector.<br>
<br>
</span>Do you have a non-square matrix? If so, is the left vector associated<br>
with a different DM?<br>
<span class=""><br>
> Or I might be wrong and there is actually no difference! If so I will<br>
> use DMCreateGlobalVector<br>
> without any problem<br>
<br>
</span>If the system is square, DMCreateGlobalVector should be correct.<br>
</blockquote></div><br></div>