Open MPI logo

Open MPI User's Mailing List Archives

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

From: Nuno Sucena Almeida (slug_at_[hidden])
Date: 2007-04-26 15:48:32


        I'm having a weird problem while using the MPI_Comm_Accept (C) or the
MPI::Comm::Accept (C++ bindings).
        My "server" runs until the call to this function but if there's no client
connecting, it sits there eating all CPU (100%), although if a client connects
the loop works fine, but when the client disconnects again we are back to the
same high CPU usage.
        I tried using OpenMPI version 1.1.2 and 1.2. The machines architectures are
AMD Opteron and Intel Itanium2 respectively, the former compiled with gcc
4.1.1 and the later with gcc 3.2.3.

        The C++ code is here:

        along with the logs for orted and the 'server' output.

        I started orted with:

        orted --persistent --seed --scope public --universe foo

        and the 'server' with

        mpirun --universe foo -np 1 ./server

        The code is a C++ conversion from the C basic one posted at the mpi-forum

        Is there an easy fix for this? I tried also the C version having the same