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

Reply via email to