Reputation: 18890
I know MPI_SEND will be halted until MPI_RECV is executed in the target node. What about MPI_Bcast? Does it need to wait until all other nodes receive it?
Upvotes: 0
Views: 2874
Reputation: 37208
MPI_Bcast is a collective operation, so all ranks in the communicator must call it. When it returns successfully, it is guaranteed that the data transfer has completed.
Upvotes: 4