[petsc-dev] question about PETSc.Vec.sum()
Jed Brown
jed at 59A2.org
Tue Jun 21 11:59:48 CDT 2011
On Tue, Jun 21, 2011 at 18:56, Aron Ahmadia <aron.ahmadia at kaust.edu.sa>wrote:
> PETSc could also just provide a VecReduce and VecReduceStride operation,
> which might simplify the programming effort a bit.
That would be neat, especially if it used MPI_Op for the reduction. You
would need MPI-2.2 to have MPI_Reduce_local() for user-defined operations,
but it would be more flexible and less code than the current approach.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110621/d207946a/attachment.html>
More information about the petsc-dev
mailing list