There was a typo in my previous comment, so I will post here the full
list of commands to re-build OpenMPI package on Ubuntu Bionic without
--enable-heterogeneous


# Install OpenJDK 8
sudo apt install openjdk-8-jdk-headless

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

# Remove --enable-heterogeneous configure option
sed -i '/enable-heterogeneous/d' debian/rules

# Force OpenMPI to use OpenJDK 8
sed -i 
's|--with-jdk-dir=/usr/lib/jvm/default-java|--with-jdk-dir=/usr/lib/jvm/java-8-openjdk-amd64|'
 debian/rules

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

# Install the newly built package
sudo debi

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