[petsc-users] variable reduction

Matthew Knepley knepley at gmail.com
Thu Dec 12 20:05:28 CST 2013


On Thu, Dec 12, 2013 at 12:43 PM, Gideon Simpson
<gideon.simpson at gmail.com>wrote:

> 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.
>

You could have individual vectors with one element/proc, but it sound
better just to use MPI directly.

   Matt


> -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
>
>
>


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


More information about the petsc-users mailing list