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