On 01/23/2018 06:40 AM, 'Maxi Miller' via deal.II User Group wrote:
So, a solution would be calling MPI_Bcast() after every call in the if()-loop in the run()-function? Thanks!

Yes. After each if-statement, process 0 has to broadcast the information it has computed to all of the processors that have not computed it.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to