Public bug reported: It seems that OpenMPI is built with the option --enable-heterogeneous and that it causes invalid results during execution.
Looking at this issue https://github.com/open-mpi/ompi/issues/171 dated from 2013, it appears that this option is broken and should not be used anymore (even if it has never been removed or marked as deprecated). Now on latest Ubuntu Artful, this option causes invalid results. Here is a simple example: int A = 666, B = 42; MPI_Irecv(&A, 1, MPI_INT, MPI_ANY_SOURCE, tag, comm, &req); MPI_Send(&B, 1, MPI_INT, my_rank, tag, comm); MPI_Wait(&req, &status); # After that, when compiled with --enable-heterogeneous, we have A != B The full example is in attachment. This happens with just a single process, when running with "mpirun -n 1 ./bug_openmpi_artful". This example is extracted and simplified code from the Zoltan library with which I initially noticed the issue. If I re-build the openmpi packages without the --enable-heterogeneous configure option, then this example works fine. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: libopenmpi-dev 2.1.1-6 ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4 Uname: Linux 4.13.0-16-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.1 Architecture: amd64 CurrentDesktop: KDE Date: Mon Nov 13 15:28:55 2017 InstallationDate: Installed on 2017-02-07 (279 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) SourcePackage: openmpi UpgradeStatus: Upgraded to artful on 2017-10-30 (13 days ago) ** Affects: openmpi (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug artful ** Attachment added: "bug_openmpi_artful.c" https://bugs.launchpad.net/bugs/1731938/+attachment/5008291/+files/bug_openmpi_artful.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731938 Title: Invalid results with OpenMPI because of --enable-heterogeneous To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1731938/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
