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

Balaji, Pavan balaji at anl.gov
Mon Mar 9 15:36:23 CDT 2015


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


More information about the discuss mailing list