[petsc-users] AllReduce function for mat
Barry Smith
bsmith at mcs.anl.gov
Mon Feb 9 11:11:07 CST 2015
> On Feb 9, 2015, at 10:57 AM, Ghosh, Swarnava <sghosh2012 at gatech.edu> wrote:
>
> Hi,
>
> I have sequential matrix on each process. I wanted to do something like MPI_Allreduce to this matrix to add entries from all processes. The resulting matrix is sequential.
Is the matrix dense or sparse?
If sparse is each process providing a different set of nonzero values? Or are all processes providing ALL nonzeros in the matrix (to be added together).
> I wanted to know if there is a PETSc function to do this?
>
> --
> SG
>
More information about the petsc-users
mailing list