PTL logo

From: Doug Gregor (dgregor_at_[hidden])
Date: 2008-09-11 14:50:51


On Sep 8, 2008, at 4:11 PM, Federico Balbi wrote:

> Would this be like MPI_Isend()?

No, they're different. MPI_Isend is a non-blocking send; it's in
MPI.NET as "ImmediateSend".

The MPI_Bsend ("buffered" send) is more like a normal MPI_Send, except
with an extra copy of the data into a user-specified buffer. The user-
specified buffer is a bit of an oddity in a managed language
like .NET, because it would always have to be pinned in memory.

        - Doug

>
> --------------------------------------------------
> From: "Doug Gregor" <dgregor_at_[hidden]>
> Sent: Monday, September 08, 2008 2:57 PM
> To: "Discussion about MPI.NET,the C# library for Message Passing" <mpi.net_at_[hidden]
> >
> Subject: Re: [MPI.NET] MPI_Bsend
>
>>
>> On Sep 5, 2008, at 3:27 PM, faafonso_at_[hidden] wrote:
>>
>>> Hi guys i have a doubt that i hope isn't stupid!
>>>
>>> Why the MPI_Bsend isn't implemented in both MPI.NET and Boost MPI?
>>
>>
>> Because I don't like MPI_Bsend :)
>>
>> Seriously, it's not there because the buffered send is not very
>> useful. It forces the MPI implementation to make an extra copy of
>> the data, and gives almost no extra functionality to the user. Do
>> you have a particular use of MPI_Bsend that MPI.NET doesn't support?
>>
>> - Doug
>> _______________________________________________
>> mpi.net mailing list
>> mpi.net_at_[hidden]
>> http://www.osl.iu.edu/mailman/listinfo.cgi/mpi.net
> _______________________________________________
> mpi.net mailing list
> mpi.net_at_[hidden]
> http://www.osl.iu.edu/mailman/listinfo.cgi/mpi.net