[petsc-users] DM and HDF5 Viewer

Jed Brown jed at jedbrown.org
Thu Jul 16 11:25:20 CDT 2015

Gianluca Meneghello <gianmail at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150716/6983159c/attachment.pgp>

More information about the petsc-users mailing list