Good morning,

I want to send (scatter) an array of N element of  the structure below, with sizeof(Tab)=T

struct bloc
{
   int T;
   double *Tab;
};
typedef struct bloc BLOC;

I wonder if it is possible to create a new MPI_Datatype for this structure (the size of Tab depends on T), or the only way is to sent it as an array (using Scatterv).

Thanks for your help.