MPI_Scatter (bigboard, xlocal, row, &subboard[1], xlocal, row, size-1, MPI_COMM_WORLD);
MPI_Scatter (bigboard[0], xlocal , row, &subboard[1], xlocalx, row, size-1, MPI_COMM_WORLD);
everything causes one of the processors to exit with a return value other than 0.
This one doesn't, but it doesn't populate the arrays right.
MPI_Scatter (bigboard,xlocal , row ,subboard[1], xlocal, row, size-1, MPI_COMM_WORLD);
all rows in subboard remain the same except the second one, which is popoulated with the pointers bigboard[0] to bigboard[xlocal] which are just addresses.
I've looked everywhere on the web (including other messages in this list) and tried all suggestions and still had problems. Can someone explain to me what is the correct way to use scatter on a 2d array so i can make sense of what's going on? Thanks.
Rolasa