Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPI_SCAN
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-05-17 19:05:14


You probably want MPI_Reduce, instead.

    http://www.open-mpi.org/doc/v1.6/man3/MPI_Reduce.3.php

On May 15, 2012, at 11:27 PM, Rohan Deshpande wrote:

> I am performing Prefix scan operation on cluster
>
> I have 3 MPI tasks and master task is responsible for distributing the data
>
> Now, each task calculates sum of its own part of array using GPUs and returns the results to master task.
>
> Master task also calculates its own part of array using GPU.
>
> When each task returns its result (which would be array) master task needs to combine all the results to get the final result.
>
> Can I use MPI_SCAN to combine the results?
>
>
>
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/