[MPICH] Best way to time MPI_Allreduce

Mehmet Belgin mehmetbelgin at gmail.com
Thu Aug 10 12:20:17 CDT 2006


Hi,

I am trying to do some timing measurements with MPI_Allreduce. I get
different results from every processor, as expected. Should I use the
MPI_Barrier before and after the MPI_Allreduce call and then time it (which
will include the overhead of MPI_Barrier to the timing)? Or will it be
accurate if I simply get the maximum of the timing results I collected form
each processor.

Thank you so much in  advance,
Memo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20060810/55b534e1/attachment.htm>


More information about the mpich-discuss mailing list