[petsc-users] variable reduction

Gideon Simpson gideon.simpson at gmail.com
Thu Dec 12 12:43:39 CST 2013


No, it's like I have a (local) object, such as an array, on each thread, and I want to compute the elementwise sum, average, etc.

-gideon

On Dec 12, 2013, at 6:22 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Thu, Dec 12, 2013 at 11:50 AM, Gideon Simpson <gideon.simpson at gmail.com> wrote:
> Are there any analogs of the MPI reduction routines implemented for vecs and other data structures? Or should I just use MPI_Reduce as appropriate?
> 
> Is this a linear algebraic operation, or something more general?
> 
>   Thanks,
> 
>      Matt
>  
> -gideon
> 
> 
> 
> 
> -- 
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131212/763cab1f/attachment.html>


More information about the petsc-users mailing list