Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Reducing Varying Length Arrays
From: Saliya Ekanayake (esaliya_at_[hidden])
Date: 2013-11-10 01:05:36


Thanks Jeff, it solved the problem.

Saliya

On Sat, Nov 9, 2013 at 8:15 PM, Jeff Hammond <jeff.science_at_[hidden]> wrote:

> MPI_{Gather,Allgather}v are appropriate for this. See docs for details.
>
> Jeff
>
> Sent from my iPhone
>
> On Nov 9, 2013, at 6:15 PM, Saliya Ekanayake <esaliya_at_[hidden]> wrote:
>
> Hi,
>
> I want to contact bunch of strings from MPI processes. For example, say
> with 2 processes,
>
> P1 has text "hi"
> P2 has text "world"
>
> I have these stored as char arrays in processes. Is there a simple way to
> do a reduce operation to concat these?
>
> Thank you,
> Saliya
>
> --
> Saliya Ekanayake esaliya_at_[hidden]
> Cell 812-391-4914 Home 812-961-6383
> http://saliya.org
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
Saliya Ekanayake esaliya_at_[hidden]
Cell 812-391-4914 Home 812-961-6383
http://saliya.org