Re: [OMPI users] dead lock in MPI_Finalize

2009-01-26 Thread Bernard Secher - SFME/LGLS
Hi Jody, I think it is not a problem of MPI_Sends which doesn't match a corresponding MPI_Recvs, because all processes reach MPI_Finalize(). If not, at least one process would be blocked before reaching MPI_Finalize. Bernard jody a écrit : Hi Bernard The structure looks as far as i can

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-26 Thread Bernard Secher - SFME/LGLS
Hello George, Thanks for your messages. Yes i disconnect my different worlds before calling MPI_Finalize(). Bernard George Bosilca a écrit : I was somehow confused when I wrote my last email and I mixed up the MPI versions (thanks to Dick Treumann for gently pointing me to the truth).

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread George Bosilca
I was somehow confused when I wrote my last email and I mixed up the MPI versions (thanks to Dick Treumann for gently pointing me to the truth). Before MPI 2.1, the MPI Standard was unclear how the MPI_Finalize should behave in the context of spawned or joined worlds, which make the

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread George Bosilca
I don't know what your program is doing but I kind of guess what the problem is. If you use MPI 2 dynamics to spawn or connect two MPI_COMM_WORLD you have to disconnect them before calling MPI_Finalize. The reason is that an MPI_Finalize do the opposite of an MPI_Init, so it is

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread jody
Without knowing the internal details of the program, it's difficult to tell what could be going wrong. Sorry i cant' give you more help here. Perhaps you should try to incrementalls reduce the functionality of your program while keeping the error. That way you may reach a state where it may be

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread Bernard Secher - SFME/LGLS
No i didn't run this program whith Open-MPI 1.2.X because one said to me there were many changes between 1.2.X version and 1.3 version about MPI_publish_name, MPI_Lookup_name (new ompi-server, ...), and it was better to use 1.3 version. Yes i am sure all processes reach MPI_Finalize()

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread jody
Hi Bernard The structure looks as far as i can see. Did it run OK on Open-MPI 1.2.X? So are you sure all processes reach the MPI_Finalize command? Usually MPI_Finalize only completes when all processes reach it. I think you should also make sure that all MPI_Sends are matched by corresponding

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread Bernard Secher - SFME/LGLS
Thanks Jody for your answer. I launch 2 instances of my program on 2 processes each instance, on the same machine. I use MPI_Publish_name, MPI_Lookup_name to create a global communicator on the 4 processes. Then the 4 processes exchange data. The main program is a CORBA server. I send you

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread jody
For instance: - how many processes on how many machines, - what kind of computation - perhaps minimal code which reproduces this failing - configuration settings, etc. See: http://www.open-mpi.org/community/help/ Without any information except for "it doesn't work", nobody can give you any help

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-23 Thread Bernard Secher - SFME/LGLS
Hello Jeff, I don't understand what you mean by "A _detailed_ description of what is failing". The problem is a dead lock in MPI_Finalize() function. All processes are blocked in this MPI_Finalize() function. Bernard Jeff Squyres a écrit : Per this note on the "getting help" page, we still

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-22 Thread Jeff Squyres
Per this note on the "getting help" page, we still need the following: "A _detailed_ description of what is failing. The more details that you provide, the better. E-mails saying "My application doesn't work!" will inevitably be answered with requests for more information about exactly

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-22 Thread Bernard Secher - SFME/LGLS
Hello Tim, I send you the information in join files. Bernard Tim Mattox a écrit : Can you send all the information listed here: http://www.open-mpi.org/community/help/ On Wed, Jan 21, 2009 at 8:58 AM, Bernard Secher - SFME/LGLS wrote: Hello, I have a case

Re: [OMPI users] dead lock in MPI_Finalize

2009-01-21 Thread Tim Mattox
Can you send all the information listed here: http://www.open-mpi.org/community/help/ On Wed, Jan 21, 2009 at 8:58 AM, Bernard Secher - SFME/LGLS wrote: > Hello, > > I have a case wher i have a dead lock in MPI_Finalize() function with > openMPI v1.3. > > Can some body

[OMPI users] dead lock in MPI_Finalize

2009-01-21 Thread Bernard Secher - SFME/LGLS
Hello, I have a case wher i have a dead lock in MPI_Finalize() function with openMPI v1.3. Can some body help me please? Bernard