Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Barrier Implementation Oddity
From: Ronny Brendel (ronnybrendel_at_[hidden])
Date: 2013-06-29 06:05:16


I am digging through openmpi to find out what algorithm the barrier
actually uses.
seems to be bruck/dissemination.

However i stumbled upon something odd.
in: ompi/mca/coll/tuned/coll_tuned_barrier.c
function: ompi_coll_tuned_barrier_intra_bruck

I think you intend (by the comments and the function name) to send to the
previous node and receive from the next. But actually it looks like you are
doing the reverse. (which should then be the dissemination algorithm)

It's no big deal, I'm just a bit confused right now, and wonder if I'm
missing something. I hope you can help me understand.