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
The only advantage is being able to have a more readable code.
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