문제

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 -

  1. count copies of the buffer array will be sent

    OR

  2. count elements of the buffer is to be sent?

도움이 되었습니까?

해결책

It's the second one. count elements of sizeof(datatype) will be sent.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top