Using MPI_Type_create_struct() to transfer structs containing dynamic arrays in C
问题 Overview: I am testing that the data type I create using MPI_Type_create_struct() is correct and hence sends the correct values. I am having trouble with getting the values stored in the arrays to transfer onto the other processors. I think this is likely a problem with the memory addresses of the arrays in each struct bound and the offsets stored in the array indices[] used to create the data type mpibound. Problem: I'm working on a program using MPI and my end goal is to use MPI_Gatherv()