[Pvfs2-developers] BMI send implemtations

Scott Atchley atchley at myri.com
Wed Aug 30 13:35:08 EDT 2006


On Aug 30, 2006, at 11:34 AM, Pete Wyckoff wrote:

> atchley at myri.com wrote on Wed, 30 Aug 2006 10:06 -0400:
>> I have a question about BMI_mx_post_sendunexpected_list(). If I
>> understand it correctly, this is an unexpected message with more than
>> one buffer. If so, do other BMI methods copy the data into a single
>> buffer or in testunexpected on the receiver, do they malloc a
>> matching set of buffers?
>
> You can read the IB version of that function.  It's pretty
> straightforward: linearize the send buffers as you ship it
> across the wire to the receiver.  It seems more complex to
> send a list of buffers to the receiver and force him to
> put it into his receive buffer, as the receiver doesn't care
> how the sender had the data arranged in memory.
>
> 		-- Pete

That makes sense. MX will send from an array of buffers into a  
contiguous one. I will just need to make sure that the total length  
is less than the unexpected max.

Scott


More information about the Pvfs2-developers mailing list