Jack Bryan wrote:
I need to transfer data from multiple sources to one
destination.
The requirement is:
(1) The sources and destination nodes may work asynchronously.
(2) Each source node generates data package in their own paces.
And, there may be many packages to send. Whenever,
Jack Bryan wrote:
HI,
I need to transfer data from multiple sources to one destination.
[...]
Probably it is not the best solution, but what I did was the following:
a) the receiver listen for transmitters ready to send data with
MPI_IRECV. The message overwrites a logical array, which is in
It sounds like you may like to read about MPI_ANY_SOURCE as the source for
MPI_Recv. Using MPI_Probe, with MPI_ANY_SOURCE, may also be a solution.
> HI,
>
> I need to transfer data from multiple sources to one destination.
> The requirement is:
>
> (1) The sources and destination nodes may work
please refer to following code, which sends data to root from multiple cour
There is only one receive, so it receives only one message. When you
specify the element count for the receive, you're only specifying the size
of the buffer into which the message will be received. Only after the
messa
HI,
I need to transfer data from multiple sources to one destination.
The requirement is:
(1) The sources and destination nodes may work asynchronously.
(2) Each source node generates data package in their own paces.
And, there may be many packages to send. Whenever, a data package