[petsc-users] Scatter error

Jed Brown jedbrown at mcs.anl.gov
Tue Oct 1 18:19:35 CDT 2013


Mohammad Mirzadeh <mirzadeh at gmail.com> writes:
> I assume I'm getting this since they somehow share a VecScatter
> internally because of VecDuplicate? If so how can I fix this?

Hmm, there is no VecScatterDuplicate so I think you'd have to make the
vectors independently.

> Also as a side question, if I stored fxx and fyy inside a block
> vector, would I gain any performance in terms of MPI traffic? What
> about in 3D?

It would be half the messages.  Why are these vectors separate in the
first place?
-------------- 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/20131001/5b1c8244/attachment.pgp>


More information about the petsc-users mailing list