Re: [mpich-discuss] Size of a type created with MPI_Type_create_darray
On 11/11/2016 07:36 AM, Dorier, Matthieu 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?
the romio flatten.c and ad_darray.c code might be helpful? I'd be tempted to make your trace program a singleton MPI program just so you *can* call MPI_Type_size. Or, make two passes over your trace and generate a darray lookup table? ==rob
Thanks,
Matthieu
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Rob Latham