Yes, these are all MPI_DOUBLE

On Fri, Aug 22, 2014 at 3:38 PM, Rob Latham <r...@mcs.anl.gov> wrote:

>
>
> On 08/22/2014 10:10 AM, Saliya Ekanayake wrote:
>
>> Hi,
>>
>> I've a quick question about the usage of Java binding.
>>
>> Say there's a 2 dimensional double array (size m x n) that needs to be
>> sent to another rank. I see two options to get this done,
>>
>> 1. Copy values to a direct buffer of size m*n and send it
>> 2. Copy values to a 1D array of size m*n and send it
>>
>
> i have no idea about the java mpi bindings, but can you describe the type
> with an mpi datatype?
>
> ==rob
>
>
>> I guess 2 would internally do the copying to a buffer and use it, so
>> suggesting 1. is the best option. Is this the case or is there a better
>> way to do this?
>>
>>
>> Thank you,
>> Saliya
>> --
>> Saliya Ekanayake esal...@gmail.com <mailto:esal...@gmail.com>
>>
>> http://saliya.org
>>
>>
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post: http://www.open-mpi.org/community/lists/users/2014/08/
>> 25130.php
>>
>>
> --
> Rob Latham
> Mathematics and Computer Science Division
> Argonne National Lab, IL USA
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: http://www.open-mpi.org/community/lists/users/2014/08/
> 25135.php
>



-- 
Saliya Ekanayake esal...@gmail.com
Cell 812-391-4914 Home 812-961-6383
http://saliya.org

Reply via email to