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: Jeff Hammond (jeff.science_at_[hidden])
Date: 2013-11-09 20:15:20

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 <esaliya_at_[hidden]> 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 esaliya_at_[hidden]
Cell 812-391-4914 Home 812-961-6383
users mailing list