Jeff Squyres wrote:
How about an MCA parameter to switch between this mechanism (early
sendi) and the original behavior (late sendi)?
This is the usual way that we resolve "I want to do X / I want to do
Y" disputes. :-)
I see the smiley face, but am unsure how much of the message to apply it to.
Assuming the MCA proposal is genuine (easy for implementor consensus? or
easy for the user? gee, lemme see, that's a tough choice...), I'll note
that it's easy enough to do. I've implemented the early-sendi-check by
adding a function to ob1 to do the right thing. So, I can call that
function as soon as one enters the PML send. The "late sendi" call is
at a different call site. So, one call site for "early sendi" and
another for "late sendi". Easy to turn on/off. We're not talking about
many small codes changes pervading the source base.