[petsc-users] How can I do reduction operation for Petsc vectors in splitted communicators?

Fangbo Wang fangbowa at buffalo.edu
Mon Jan 23 09:56:33 CST 2017


Hi,

Assume I did MPI_Comm_split, the global communicator is splitted into
several disjoint communicators.

I created a parallel Petsc vector with same size in all the small
communicators.
How can I do a reduction operation for this Petsc vector among all the
small communicators?

Thank you very much!

Best regards,

Fangbo Wang


-- 
Fangbo Wang, PhD student
Stochastic Geomechanics Research Group
Department of Civil, Structural and Environmental Engineering
University at Buffalo
Email: *fangbowa at buffalo.edu <fangbowa at buffalo.edu>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170123/ff24b09c/attachment.html>


More information about the petsc-users mailing list