Dears, First of all. Really really thanks for you help, I am learning a lot. Second: I try to study the MPI_TYPE_CREATE_STRUCT and all the things look correct.
I use Intel Fortran compiler and when I compile with -r8 means that I am compiling in double precision. About Nick suggestion: Coding TYPE tParticle SEQUENCE INTEGER :: ip REAL :: RP(2) REAL :: QQ(4) END TYPE tParticle if I compile with mpif90 -r8 *.f90 I get the following error: warning #6379: The structure contains one or more misaligned fields. [TPARTICLE] TYPE tParticle I can only compile as: mpif90 -r8 -i8 *.f90 But I get the same error: An error occurred in MPI_Cart_create [diedroLap:12267] *** reported by process [139817172008961,139814070386689] [diedroLap:12267] *** on communicator MPI_COMM_WORLD [diedroLap:12267] *** MPI_ERR_OTHER: known error not in list [diedroLap:12267] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort, [diedroLap:12267] *** and potentially your MPI job) What I can do? Thanks a lot On 3 October 2014 08:15, Nick Papior Andersen <nickpap...@gmail.com> wrote: > sequence Diego