Re: [OMPI users] Reducing Varying Length Arrays

2013-11-09 Thread Jeff Hammond
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 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 thes

[OMPI users] Reducing Varying Length Arrays

2013-11-09 Thread Saliya Ekanayake
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...@gma