Greg Fischer wrote:
(I apologize in advance for the simplistic/newbie
There are three steps here: buffering, transmitting, and unbuffering.
Any idea how the run time is distributed among those three steps?
E.g., if most time is spent in the MPI call, then combining all three
steps into one is unlikely to buy you much... and might even hurt. If
most of the time is spent in the MPI call, then there may be some
tuning of collective algorithms to do. I don't have any experience
doing this with OMPI. I'm just saying it makes some sense to isolate
the problem a little bit more.
I'm performing an ALLREDUCE operation on a multi-dimensional array.
This operation is the biggest bottleneck in the code, and I'm wondering
if there's a way to do it more efficiently than what I'm doing now.
Here's a representative example of what's happening:
Is there any way to just do this in one fell swoop, rather than
buffering, transmitting, and unbuffering? This operation is looped
over many times. Are there savings to be had here?