Hi,
I have a basic usage question - running into a hurdle with C++.
I have a series of int * arrays which I need to send in one to one communication between processors. These arrays are of varying sizes, so I can't guarantee a receive count on the receiving end (the MPI functions seem to require this..)
How do I send and receive an array if integers?
ex:
int * arr = new int[X]; // X varies
MPI::COMM_WORLD.Send(...
// and then down on receiving end:
???
Thanks!
Alex
|