[mpich-discuss] Non-constant extent for derived data types

mhgardner mhgardner at berkeley.edu
Mon Mar 9 15:30:59 CDT 2015


Hi,

I'm rather new to MPI, but I'm trying to define a derived MPI struct data
type. The data type is made up of int, float and vector types. The number
of entries in the vector elements are not constant throughout the analysis,
so is there a way to define an MPI data type that can deal with vectors of
changing size? Or is it better to create vectors of fixed extent and just
add enough padding so they don't overflow?

Thanks,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150309/29bc044d/attachment.html>


More information about the discuss mailing list