A.LEGRAND
Y.ROBERT
int MPI_Address( void *location, MPI_Aint *address)
int MPI_Type_struct( int count, int blocklens[], MPI_Aint indices[], MPI_Datatype old_types[], MPI_Datatype *newtype )
Enfin, voici deux autres fonctions qui nous seront utiles pour distribuer et récupérer les données :
int MPI_Scatter ( void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm )
int MPI_Gather ( void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm )
Au cas où ces explications ne suffiraient pas, je vous invite à aller voir les sites suivants :
Une solution possible est disponible à la même adresse dans le fichier
parsort.c.