[OMPI users] Error with MPI_GET_ADDRESS and MPI_TYPE_CREATE_RESIZED ?

2020-05-17 Thread Diego Avesani via users
Dear all, I would like to share with what I have done in oder to create my own MPI data type. The strange thing is that it worked until some day ago and then it stopped working. This because probably I have changed my data type and I miss some knowledge about MPI data type This is my data type: *

Re: [OMPI users] Error with MPI_GET_ADDRESS and MPI_TYPE_CREATE_RESIZED?

2020-05-17 Thread Gilles Gouaillardet via users
Diego, Did you change your compiler options? Cheers, Gilles - Original Message - > Dear all, > > I would like to share with what I have done in oder to create my own MPI > data type. The strange thing is that it worked until some day ago and then > it stopped working. This because pr

Re: [OMPI users] Error with MPI_GET_ADDRESS and MPI_TYPE_CREATE_RESIZED?

2020-05-17 Thread Diego Avesani via users
Dear Gilles, dear All, as far I remember no. The compiler is the same as the options which I use. Maybe, the error is some other places of my code. However, the results look errors in allocation of sent and received vector of datatype. The import is that at least mydata type definitions in corre

Re: [OMPI users] Error with MPI_GET_ADDRESS and MPI_TYPE_CREATE_RESIZED?

2020-05-17 Thread George Bosilca via users
Diego, I see nothing wrong with the way you create the datatype. In fact this is the perfect example on how to almost do it right in FORTRAN. The almost is because your code is highly dependent on the -r8 compiler option (otherwise the REAL in your type will not match the MPI_DOUBLE_PRECISION you