Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Receiving MPI messages of unknown size
From: Åke Sandgren (ake.sandgren_at_[hidden])
Date: 2009-06-04 01:54:36


On Thu, 2009-06-04 at 14:54 +1000, Lars Andersson wrote:
> Hi Gus,
>
> Thanks for the suggestion. I've been thinking along those lines, but
> it seems to have drawbacks. Consider the following MPI conversation:
>
> Time NODE 1 NODE 2
> 0 local work local work
> 1 post n-b recv local work
> 2 local work post n-b send
> 3 complete recv in 1 local work

Its been awhile since i did mpi programming but...
why not just post a n-b recv for the header too?
just tag it correctly.

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake_at_[hidden]   Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se