MPI_Datatype for a structure containing pointers
4 Feb
2013
4 Feb
'13
3:45 a.m.
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.
4917
Age (days ago)
4917
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aya Aya