@acroucher I re-tried on my side to manually build the package on Ubuntu
Bionic and it failed because of the Java bindings. It is hard to know if
your issue is the same without seeing your config.log. But this is on I
managed to workaround that and re-build the package on Bionic.



* Option 1: disable the Java MPI interface

/!\ This will potentially break any package that depends on that.

Before running `debuild -uc -us -b` you can comment the line containing
`--enable-mpi-java` in the file `debian/rules`



* Option 2: use the older OpenJDK 8 package

The reason is that OpenMPI looks for the command `javah` which have been
removed form OpenJDK release after 8.

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

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

# Then you can run 
debuild -uc -us -b



I hope this helps.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to