I am using Ubuntu 18.04 (Bionic) and am trying to work around this bug
by rebuilding the source package for openmpi, according to these
instructions for Ubuntu 17.10:

https://github.com/firedrakeproject/firedrake/issues/1153

The recipe for rebuilding there is:

# Download openmpi source and install build dependencies
sudo apt-get -y build-dep openmpi
apt-get source openmpi
cd openmpi-*

# Fix compile flag that is broken on 17.10
sed -i '/enable-heterogeneous/d' debian/rules

# Build newly fixed package
debuild -uc -us -b

# Install the newly built package
sudo debi

However the build step is failing with the following error:

dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu 
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking --with-libfabric --with-psm 
--with-jdk-dir=/usr/lib/jvm/default-java --enable-mpi-java 
--enable-opal-btl-usnic-unit-tests --disable-wrapper-rpath 
--enable-mpi-thread-multiple --disable-silent-rules --enable-mpi-cxx 
--with-hwloc=/usr/ --with-libltdl=/usr/ --with-devel-headers --with-slurm 
--with-sge --without-tm --disable-vt --sysconfdir=/etc/openmpi 
--libdir=\${prefix}/lib/x86_64-linux-gnu/openmpi/lib 
--includedir=\${prefix}/lib/x86_64-linux-gnu/openmpi/include returned exit code 
1
debian/rules:76: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory '/home/acro018/software/openmpi-2.1.1'
debian/rules:65: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui -b failed

Should I be using a different process in Ubuntu 18.04 to rebuild this
package?

And has there been any progress in getting this bug fixed in the
repositories?

** Bug watch added: github.com/firedrakeproject/firedrake/issues #1153
   https://github.com/firedrakeproject/firedrake/issues/1153

-- 
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

Reply via email to