<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>

Good morning,<br><br>I want to send (scatter) an array of N element of  the structure below, with sizeof(Tab)=T<br><br>struct bloc<br>{<br>   int T;<br>   double *Tab;<br>};<br>typedef struct bloc BLOC;<br><br>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).<br><br>Thanks for your help.<br>                                    </div></body>
</html>