Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] dead lock in MPI_Finalize
From: Bernard Secher - SFME/LGLS (bernard.secher_at_[hidden])
Date: 2009-01-26 09:50:17


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 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 MPI_Recvs.
>
> Jody
>
> On Fri, Jan 23, 2009 at 11:08 AM, Bernard Secher - SFME/LGLS
> <bernard.secher_at_[hidden]> wrote:
>
>> 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 this program.
>>
>> Bernard
>>
>> jody a écrit :
>>
>> 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 whatsoever.
>>
>> Jody
>>
>> On Fri, Jan 23, 2009 at 9:33 AM, Bernard Secher - SFME/LGLS
>> <bernard.secher_at_[hidden]> wrote:
>>
>>
>> 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 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 what
>> doesn't work; so please include as much information detailed in your initial
>> e-mail as possible."
>>
>> Additionally:
>>
>> "The best way to get help is to provide a "recipie" for reproducing the
>> problem."
>>
>> Thanks!
>>
>>
>> On Jan 22, 2009, at 8:53 AM, Bernard Secher - SFME/LGLS wrote:
>>
>>
>>
>> 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
>> <bernard.secher_at_[hidden]> wrote:
>>
>>
>>
>> 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
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>>
>>
>>
>>
>> --
>> _\\|//_
>> (' 0 0 ')
>> ____ooO (_) Ooo______________________________________________________
>> Bernard Sécher DEN/DM2S/SFME/LGLS mailto : bsecher_at_[hidden]
>> CEA Saclay, Bât 454, Pièce 114 Phone : 33 (0)1 69 08 73 78
>> 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87
>> ------------Oooo---------------------------------------------------
>> oooO ( )
>> ( ) ) /
>> \ ( (_/
>> \_)
>>
>>
>> Ce message électronique et tous les fichiers attachés qu'il contient
>> sont confidentiels et destinés exclusivement à l'usage de la personne
>> à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
>> merci d'en avertir immédiatement son émetteur et de ne pas en conserver
>> de copie.
>>
>> This e-mail and any files transmitted with it are confidential and
>> intended solely for the use of the individual to whom they are addressed.
>> If you have received this e-mail in error please inform the sender
>> immediately, without keeping any copy thereof.
>>
>>
>> <config.log.tgz><ifconfig.log.tgz><ompi_info.log.tgz>_______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>> --
>>
>> _\\|//_
>> (' 0 0 ')
>> ____ooO (_) Ooo______________________________________________________
>> Bernard Sécher DEN/DM2S/SFME/LGLS mailto : bsecher_at_[hidden]
>> CEA Saclay, Bât 454, Pièce 114 Phone : 33 (0)1 69 08 73 78
>> 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87
>> ------------Oooo---------------------------------------------------
>> oooO ( )
>> ( ) ) /
>> \ ( (_/
>> \_)
>>
>>
>> Ce message électronique et tous les fichiers attachés qu'il contient
>> sont confidentiels et destinés exclusivement à l'usage de la personne
>> à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
>> merci d'en avertir immédiatement son émetteur et de ne pas en conserver
>> de copie.
>>
>> This e-mail and any files transmitted with it are confidential and
>> intended solely for the use of the individual to whom they are addressed.
>> If you have received this e-mail in error please inform the sender
>> immediately, without keeping any copy thereof.
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
       _\\|//_
      (' 0 0 ')
____ooO  (_) Ooo______________________________________________________
 Bernard Sécher  DEN/DM2S/SFME/LGLS    mailto : bsecher_at_[hidden]
 CEA Saclay, Bât 454, Pièce 114        Phone  : 33 (0)1 69 08 73 78
 91191 Gif-sur-Yvette Cedex, France    Fax    : 33 (0)1 69 08 10 87
------------Oooo---------------------------------------------------
       oooO (   )
       (   ) ) /
        \ ( (_/
         \_)
Ce message électronique et tous les fichiers attachés qu'il contient
sont confidentiels et destinés exclusivement à l'usage de la personne
à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
merci d'en avertir immédiatement son émetteur et de ne pas en conserver
de copie.
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual to whom they are addressed.
If you have received this e-mail in error please inform the sender
immediately, without keeping any copy thereof.