Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPI Derived datatype + Persistent communication
From: Eugene Loh (Eugene.Loh_at_[hidden])
Date: 2009-11-11 12:38:11

amjad ali wrote:

> Hi all,
> I read that
> MPI Derived datatypes may provide efficient way to send data
> non-contiguous in the memory.
> MPI Persistent communication may provide efficient way in case some
> specified/fix communication is performed in an iterative code.
> Can we combine both together to get some enhanced benefit/efficiency?

Yes. Each one addresses a different situation. If you have both
situations, then using both can help you. Benefit is not guaranteed,
though. It depends on what the MPI implementation is doing, and other
variables as well. Best is to try and see if you derive benefit from
either feature... or both!

> Better if any body can refer to some tutorial/example-code on this.