[OMPI users] MPI_Recv hangs

2012-05-04 Thread Jorge Chiva Segura
Hi all, I have a program that executes a communication loop similar to this one: 1:for(int p1=0; p1

Re: [OMPI users] MPI_Allreduce hangs

2012-05-04 Thread Jorge Chiva Segura
Hello, I think that my problem: http://www.open-mpi.org/community/lists/users/2012/05/19182.php is similar to yours. Following the advice in the thread that you posted: http://www.open-mpi.org/community/lists/users/2011/07/16996.php I have tried to run my program adding: -mca btl_openib_flags 305

Re: [OMPI users] MPI_Recv hangs

2012-05-04 Thread Jorge Chiva Segura
I have tried to add "-mca btl_openib_flags 305" and it worked ^^. Now I am trying to understand why and which is the impact in performance. Thank you anyway for your suggestion, Jorge On Fri, 2012-05-04 at 07:00 -0400, Jeff Squyres wrote: > Try removing the barrier. > > On May

Re: [OMPI users] MPI_Recv hangs

2012-05-04 Thread Jorge Chiva Segura
Ups, I edited the code to make it easier to understand but I forgot to change two p2, sorry ^^' . I hope this one is completely right: 1: for(int p1=0; p125) cout<<"p1("<25) cout<<"p1("<25) cout<<"p2("<25) cout<<"p2("< At 11:52 04/05/2012, you wrote: > >Hi all, > > > >I have a program that execute

Re: [OMPI users] MPI_Recv hangs

2012-05-04 Thread Jorge Chiva Segura
On Fri, 2012-05-04 at 16:44 +0200, Eduardo Morras wrote: > At 15:20 04/05/2012, you wrote: > >Ups, I edited the code to make it easier to understand but I forgot > >to change two p2, sorry ^^' . > >I hope this one is completely right: > > > >1: for(int p1=0; p1 >2: for(int p2=0; p2 >3: if(me==p1)

Re: [OMPI users] MPI_Recv hangs

2012-05-09 Thread Jorge Chiva Segura
On Wed, 2012-05-09 at 15:24 +0200, Eduardo Morras wrote: > Sorry for the delay, and sorry again because in last mail i had the > wrong taste that it was some kind of homework problem. Don't worry ;). I simplified the core of the problem just to make it easier to understand (at least that was my i

Re: [OMPI users] MPI_Recv hangs

2012-05-09 Thread Jorge Chiva Segura
> Some memory leaks were solved in 1.4.5. that affects openib, see release > notes. Yes, with 1.4.4 was worse (it hanged in a previous part of the real code with communications also involved) but with 1.4.5 it still hangs :( . Now I see that in the first post there is another mistake :S , the vers