Re: [OMPI users] local communicator and crash of the code

2018-08-03 Thread Nathan Hjelm via users
If your are trying to create a communicator containing all node local processes then use MPI_Comm_split_type. > On Aug 3, 2018, at 12:24 PM, Diego Avesani wrote: > > Deal all, > probably I have found the error. > Let's me check. Probably I have not properly set-up colors. > > Thanks a lot, >

Re: [OMPI users] local communicator and crash of the code

2018-08-03 Thread Diego Avesani
Deal all, probably I have found the error. Let's me check. Probably I have not properly set-up colors. Thanks a lot, I hope that you have not lost too much time for me, I will let you know If that was the problem. Thanks again Diego On 3 August 2018 at 19:57, Diego Avesani wrote: > Dear R, D

Re: [OMPI users] local communicator and crash of the code

2018-08-03 Thread Diego Avesani
Dear R, Dear all, I do not know. I have isolated the issues. It seem that I have some problem with: CALL MPI_COMM_SPLIT(MPI_COMM_WORLD,colorl,MPIworld%rank,MPI_LOCAL_COMM,MPIworld%iErr) CALL MPI_COMM_RANK(MPI_LOCAL_COMM, MPIlocal%rank,MPIlocal%iErr) CALL MPI_COMM_SIZE(MPI_LOCAL_COMM, MPIloca

Re: [OMPI users] local communicator and crash of the code

2018-08-03 Thread Ralph H Castain
Those two command lines look exactly the same to me - what am I missing? > On Aug 3, 2018, at 10:23 AM, Diego Avesani wrote: > > Dear all, > > I am experiencing a strange error. > > In my code I use three group communications: > MPI_COMM_WORLD > MPI_MASTERS_COMM > LOCAL_COMM > > which have i