I've always found darray types to be profoundly confusing. You might try to use MPI_Type_create_subarray instead. Jeff On Fri, Nov 11, 2016 at 5:36 AM, Dorier, Matthieu <[email protected]> wrote:
Hi,
I have a trace of an MPI program in which parameters of every MPI calls have been recorded. Some communication functions are using a user-defined type created with MPI_Type_create_darray.
I would like to know what is the size of this type as a function of the parameters passed to MPI_Type_create_darray (again, I'm working on a trace, so I can't just call MPI_Type_size). We can assume, for simplicity, that the oldtype parameter is MPI_BYTE. I'm having troubles understanding, from the standard and from online documentation, how this function works and how I can compute this size. Could you help?
Thanks,
Matthieu
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Jeff Hammond [email protected] http://jeffhammond.github.io/ _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss