It's the second one. count
elements of sizeof(datatype)
will be sent.
Question
MPI_Bcast (&buffer,count,datatype,root,comm)
The tutorial at https://computing.llnl.gov/tutorials/mpi/ says that count - Indicates the number of data elements of a particular type to be sent.
What does that mean? Does it mean that -
count copies of the
buffer
array will be sentOR
count elements of the
buffer
is to be sent?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow