MPI_{Gather,Allgather}v are appropriate for this. See docs for details. 


Sent from my iPhone

On Nov 9, 2013, at 6:15 PM, Saliya Ekanayake <> wrote:


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 Ekanayake 
Cell 812-391-4914 Home 812-961-6383
users mailing list