[petsc-users] Destroy ghosted vector that was used to duplicate

Jed Brown jedbrown at mcs.anl.gov
Wed Jun 19 17:09:32 CDT 2013


John Mousel <john.mousel at gmail.com> writes:

> 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.

I don't know how you're measuring that.  PETSc does not create new
communicators per object.  We create one PETSc comm per user comm, and
all the objects share that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130620/c85f554d/attachment.pgp>


More information about the petsc-users mailing list