MPI_Datatype construction advantages in terms of scaling

Abinav Ravi Source

What are the advantages of constructing new datatypes such as contiguous, subarray, vector in MPI? What aspects of scaling does these relate to?

cparallel-processingmpisupercomputers

Answers

answered 3 days ago NPE #1

The only advantage is being able to have a more readable code.

If I MPI_Send an array of Class A (or MPI_Dataype A) I MPI_Recv an array of Class A (or MPI_Dataype A).

Other than that it involves less performance.

Have a look at Boost.Mpi figures

MPI and MPI Datatypes

comments powered by Disqus