Hello everyone, Is Utilities::MPI::broadcast supposed to do the same as MPI_Bcast? I wanted an integer to be sent to all the ranks. So this is what I wrote: Utilities::MPI::broadcast(mpi_communicator,rand_seed,0); However, it seems to be not sending the variable. Using MPI_Bcast as follows does the job. MPI_Bcast(&rand_seed, 1, MPI_INT, 0, mpi_communicator);
Is my usage wrong or is it a bug? Regards, Rahul -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/67fe25f6-8ca8-4041-89f8-5013d95892c2n%40googlegroups.com.