Andreas Schäfer schrieb:
On 19:31 Tue 08 Jan     , Dino Rossegger wrote:
Hi,
thanks for the programm, but sadly I can't get it work :(.
It's the same error as in my programm. I get the following output:
0
0
0
10
0
0
11
0
0

Which as far as I know can't be correct.

Oh, my bad. The field pointers had to be corrected for the Gather.
Now the output looks like this:


Now it works, thank you very much
0
500
1000
10
510
1010
11
511
1011

Is this what you did expect?

BTW: of course you can send multidimensional arrays with scatter and
gather. This is because they're really just one-dimensional in
memory.

I thought so too but was a bit confused since I got the tip to fold the arrays etc.
Cheers
-Andreas




------------------------------------------------------------------------

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to