Thanks Jeff, it solved the problem.

Saliya


On Sat, Nov 9, 2013 at 8:15 PM, Jeff Hammond <jeff.scie...@gmail.com> 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 <esal...@gmail.com> 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 esal...@gmail.com
> Cell 812-391-4914 Home 812-961-6383
> http://saliya.org
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
Saliya Ekanayake esal...@gmail.com
Cell 812-391-4914 Home 812-961-6383
http://saliya.org

Reply via email to