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.