Public bug reported: As reported at the upstream Open MPI users list (https://www.mail- archive.com/[email protected]/msg33383.html), the Open MPI v2.1.1 bundled in Ubuntu 18.04.x seems to have a problem. I am one of the upstream Open MPI developers, so I am filing this issue here.
When the trivial attached program (any.c) is compiled and run with openmpi-bin 2.1.1-8, it fails: ----- apt-get install -y openmpi-bin mpicc any.c -o any ./any # The "any" program aborts ----- However, when I compile/install Open MPI v2.1.1 from the upstream web site (https://www.open-mpi.org/software/ompi/v2.1/), the attached any.c program works fine: ----- wget https://download.open-mpi.org/release/open-mpi/v2.1/openmpi-2.1.1.tar.bz2 tar xf openmpi-2.1.1.tar.bz2 cd openmpi-2.1.1 ./configure --prefix=$HOME/bogus && make -j 8 && make install export PATH=$HOME/bogus/bin:$PATH export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH cd /path/to/sample/program mpicc any.c -o any ./any # The "any" program succeeds ----- Specifically: the "any" program works fine for me with Open MPI v2.1.1 hand-compiled by me, both on Ubuntu 18.04, on other Linux distros, and on MacOS. It also works fine with Open MPI v2.1.6, the most recent version of the Open MPI v2.1.x series. This suggests that there may be something wonky with the Open MPI 2.1.1-8 that is bundled in Ubuntu 18.04. I don't know if there are any Ubuntu-specific patches in your Open MPI package, or if there are odd dependency interactions, or ... something else. But it's clearly giving the wrong result somehow. Additionally, it should be noted that the Open MPI v2.1.x series is pretty ancient. Open MPI v2.1.1 was released in May of 2017. The most current release of Open MPI is v4.0.1 (v4.0.2 should be out "soon"). At the very minimum, Ubuntu should upgrade its Open MPI to the latest in the v2.1.x series -- v2.1.6, which contains a ton of bug fixes compared to v2.1.1, and should be ABI compatible with v2.1.1 (jumping to v4.0.x would break ABI, which I assume is not desirable in Ubuntu 18.04 LTS). Ubuntu version: $ lsb_release -rd Description: Ubuntu 18.04.2 LTS Release: 18.04 $ apt-cache policy openmpi-bin openmpi-bin: Installed: 2.1.1-8 Candidate: 2.1.1-8 Version table: *** 2.1.1-8 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: openmpi (Ubuntu) Importance: Undecided Status: New ** Tags: bionic ** Attachment added: "Sample MPI program showing the problem" https://bugs.launchpad.net/bugs/1838684/+attachment/5280391/+files/any.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1838684 Title: Open MPI 2.1.1 sample code failure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1838684/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
