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

mhgardner mhgardner at berkeley.edu
Mon Mar 9 15:39:16 CDT 2015


Thanks, and sorry about that. Will keep future questions related to MPICH.

On Mon, Mar 9, 2015 at 1:36 PM, Balaji, Pavan <balaji at anl.gov> wrote:

>
> No, datatypes are meant to be persistent for a reasonably long period.
>
> Also, for general MPI questions, please use stack overflow or equivalent.
> This list is for MPICH related questions.
>
>   -- Pavan
>
> > On Mar 9, 2015, at 3:30 PM, mhgardner <mhgardner at berkeley.edu> wrote:
> >
> > 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
> > _______________________________________________
> > discuss mailing list     discuss at mpich.org
> > To manage subscription options or unsubscribe:
> > https://lists.mpich.org/mailman/listinfo/discuss
>
> --
> Pavan Balaji  ✉️
> http://www.mcs.anl.gov/~balaji
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150309/541e5f4f/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list