开发者

Corresponding Receive Routine of MPI_Bcast

开发者 https://www.devze.com 2022-12-21 22:22 出处:网络
What would be the corresponding MPI receive routine of the broadcast routine, MPI_Bcast. Namely, one processor broa开发者_开发技巧dcasts a message to a group, let\'s say all world, how I can have the

What would be the corresponding MPI receive routine of the broadcast routine, MPI_Bcast.

Namely, one processor broa开发者_开发技巧dcasts a message to a group, let's say all world, how I can have the message in these processes?

Thank you.

Regards

SRec


MPI_Bcast is both the sender and the receiver call.

Consider the prototype for it.

int MPI_Bcast ( void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm )

All machines except for the machine with id = root are receivers. The machine that has the id = root is the sender.

0

精彩评论

暂无评论...
验证码 换一张
取 消