Re: [OMPI users] Broadcast problem

2013-04-30 Thread George Bosilca
You can't use gather either. Same for gatherv, as you need to know the amount you will receive in advance. If I understand correctly your scenario (a random process is doing a broadcast at random time steps), using MPI collectives is not the best approach as they need global knowledge (there is

Re: [OMPI users] Broadcast problem

2013-04-30 Thread Randolph Pullen
Oops,I think I meant gather not scatter...

[OMPI users] Broadcast problem

2013-04-30 Thread Randolph Pullen
I have a number of processes split into sender and receivers. Senders read large quantities of randomly organised data into buffers for transmission to receivers. When a buffer is full it needs to be transmitted to all receivers this repeats until all the data is transmitted. Problem is that MPI