Gianluca Meneghello <gianmail@gmail.com> writes:
> I need both right and left vectors for use in a SLEPc SVD decomposition; it
> is my understanding that the correct layout is obtained with MatCreateVecs
> and that only the layout for the right vector is created with
> DMCreateGlobalVector.
Do you have a non-square matrix? If so, is the left vector associated
with a different DM?
> Or I might be wrong and there is actually no difference! If so I will
> use DMCreateGlobalVector
> without any problem
If the system is square, DMCreateGlobalVector should be correct.