[mpich-discuss] Can i use MPI_REDUCE(with MPI_MIN) to get a "min array"?

维洛逐风 wu_0317 at qq.com
Sat Feb 15 06:22:49 CST 2014


HI.


Say,I have 10 process,each one has a array called gbest, I want to get the min array(with a compare operation I want to define).
Is there a way to use MPI_REDUCE to do this?As I know, MPI_MIN specifies datatypes(without arrays).




------------------
Jie-Jun Wu
Department of Computer Science,
Sun Yat-sen University,
Guangzhou, 
P.R. China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140215/bcc88c25/attachment.html>


More information about the discuss mailing list