This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
On Jan 4, 2010, at 2:02 PM, Eugene Loh wrote:
> Maybe the experts on this list can comment on what *should* be happening inside OMPI.
> Meanwhile, you should probably avoid MPI_Sendrecv_replace if you care about performance. The function is mostly a convenience function and if you care about performance you'd be safest, if you're going to run with different MPIs, to use MPI_Sendrecv instead. That means you need a send buffer and a receive buffer. A little more hassle, perhaps, but it means you have better control over the performance characteristics. E.g., you won't have all those extra allocs/frees, which is what you almost surely have with most MPI implementations.
It's a tough call about how to make MPI_Sendrecv_replace "better" -- because there's several different definitions of "better" that might fit here...