Re: [deal.II] Usage of MPI_Bcast with deal.II

2018-02-19 Thread Timo Heister
Maxi, there is nothing special about MPI communication "with deal.II", it is just using MPI. I don't see enough information from your code snippet, so you have to investigate yourself. Some pointers: - make sure all processors participate - make sure module.data_size is the number of doubles, not

[deal.II] Usage of MPI_Bcast with deal.II

2018-02-19 Thread 'Maxi Miller' via deal.II User Group
Hei, I was wondering what the correct way is to use MPI_Bcast in a deal.II-program. Currently I am using it in the following way: print_status_update(pcout, std::string("Transmitting pulse data of size ") + std::to_string(module.data_size) + std::string("\n"), true); //MPI_Bcast(m