A K
2008-04-23 07:51:26 UTC
I am trying to scatter columns of a matrix.
My 2-D matrix is stored in1-D array
int a[];
for example in 2 process, I am trying to send columns 1 to 5 to Rank
=0 and columns 6 to 10 to rank 1.
I was successful in doing rows using MPI_ScatterV but I couldn't do it
with columns.
Any example code with some comments will be very useful for me.
regards,
abdul
My 2-D matrix is stored in1-D array
int a[];
for example in 2 process, I am trying to send columns 1 to 5 to Rank
=0 and columns 6 to 10 to rank 1.
I was successful in doing rows using MPI_ScatterV but I couldn't do it
with columns.
Any example code with some comments will be very useful for me.
regards,
abdul