There is a function
int MPI_Bcast( void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm )
Is it possible for me to pass it a two dimensional array **b? How if yes?
Thanks in advance
b is a pointer to pointer, and the function accepts just a pointer, so one level of indirection is probably needed.
casting 'b' to a void* is strange. I myself wrote 'b' but am not sure if it gets the job done.