[petsc-dev] question about PETSc.Vec.sum()

Manuel Quezada manuel.quezada at kaust.edu.sa
Tue Jun 21 16:41:13 CDT 2011


Thanks a lot for the advice, it worked nice =)...

I appreciate your help,

Manuel

On Tue, Jun 21, 2011 at 7:59 PM, Jed Brown <jed at 59a2.org> wrote:

> 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/20110622/d813b6ee/attachment.html>


More information about the petsc-dev mailing list