Diego, yes, it works for me (at least with the v1.8 head and gnu compilers)
Cheers, Gilles On 2015/01/08 17:51, Diego Avesani wrote: > Dear Gilles, > thanks again, however it does not work. > > the program says: "SIGSEGV, segmentation fault occurred" > > Does the program run in your case? > > Thanks again > > > > Diego > > > On 8 January 2015 at 03:02, Gilles Gouaillardet < > gilles.gouaillar...@iferc.org> wrote: > >> Diego, >> >> my bad, i should have passed displacements(1) to MPI_Type_create_struct >> >> here is an updated version >> >> (note you have to use a REQUEST integer for MPI_Isend and MPI_Irecv, >> and you also have to call MPI_Wait to ensure the requests complete) >> >> Cheers, >> >> Gilles >> >> >> On 2015/01/08 8:23, Diego Avesani wrote: >> >> Dear Gilles, Dear all, >> >> I'm sorry to bother you again, but I have some problem with send and >> receive the struct_data. >> >> I tried to send a MPI_Type_Create_Struct but I get a segmentation fault >> occurred and I do not know why. The program is very simple, it is the old >> one with the isend and irecv subroutines >> >> (you can find it in the attachment) >> >> Thanks again >> >> >> Diego >> >> >> On 5 January 2015 at 15:54, Diego Avesani <diego.aves...@gmail.com> >> <diego.aves...@gmail.com> wrote: >> >> >> Dear Gilles, >> >> Thanks, Thanks a lot. >> Now is more clear. >> >> Again, thanks a lot >> >> Diego >> >> >> >> >> >> _______________________________________________ >> users mailing listus...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> Link to this post: >> http://www.open-mpi.org/community/lists/users/2015/01/26116.php >> >> >> >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> Link to this post: >> http://www.open-mpi.org/community/lists/users/2015/01/26118.php >> > > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/01/26124.php