LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Daniel Ng (danielng52_at_[hidden])
Date: 2007-10-01 00:44:53


Hi,

I would like to use a single send for sending strided data as described
below.

double dataArray[100];
for (i=0; i<100; i+=10)
    send dataArray[2+i], dataArray[4+i];

There will be numerous occurances of this send throughout the entire
program. As recommended, I should use derived datatype (vector/struct)
rather than pack/unpack into a contiguous memory. Which derived datatype
would give the best performance?

I've tried searching at LAM/MPI website
http://www.lam-mpi.org/using/support/ but it always gives this message

"Sorry, you didn't specify any search criteria, so no search was performed."

Thanks.

Regards,
Daniel.