Your message dated Wed, 11 Jul 2018 12:30:14 +0100
with message-id <c3df49d0-f8c3-5444-dce3-49ecfb9e8...@debian.org>
and subject line Works with pmix-2.1.2~rc2-1
has caused the Debian Bug report #902041,
regarding openmpi: broken on armel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
902041: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902041
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openmpi
Version: 3.1.0-7
Severity: serious

OpenMPI seems to be very broken on armel.  The C++ program below hangs
often at a random iteration on abel.d.o (in a sid_armel-dchroot).

I built the program using `mpic++ -Wall -std=c++14 -o test test.cc` and
ran it with two ranks `mpirun -np 2 ./test`.

Ansgar

----

#include <iostream>

#include <mpi.h>

int main(int argc, char** argv)
{
        MPI_Init(&argc, &argv);

        int rank, size;
        MPI_Comm_rank(MPI_COMM_WORLD, &rank);
        MPI_Comm_size(MPI_COMM_WORLD, &size);

        for (int j = 0; j < 1024; ++j) {

                std::cout << "j = " << j << std::endl;

                MPI_Request req[2];

                const char out[4] = {1, 2, 3, 4};
                char in[4];

                int dest = (rank + 1) % size;
                int source = (size + rank - 1) % size;

                MPI_Isend(out, 4, MPI_BYTE, dest, 0, MPI_COMM_WORLD, &req[0]);
                MPI_Irecv(in, 4, MPI_BYTE, source, 0, MPI_COMM_WORLD, &req[1]);

                MPI_Waitall(2, req, MPI_STATUSES_IGNORE);
        }

        MPI_Finalize();
        return 0;
}

--- End Message ---
--- Begin Message ---
The combination openmpi-3.1.1.real-1 and pmix-2.1.2rc2-1 fixes this.


--
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>, 
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.     

--- End Message ---

Reply via email to