On 03/07/2017 07:46 AM, 'Seyed Ali Mohseni' via deal.II User Group wrote:

Now my question how can I store the data on all processors?
Or how am I able to at least store my max_rank variable on all processors?

The function you're looking for is called MPI_Allreduce.
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