Fresh ArmarX installation fails due to MPI not found.

Bug Report

Summary and Bug Description

When a setup of ArmarX is attempted on a freshly installed Ubuntu 22.04 following the official install guide (https://git.h2t.iar.kit.edu/sw/armarx/meta/axii) then the installation fails after "axii workspace upgrade" is invoked when PointCloudViewerGuiPlugin is set up, because MPI is not found. The issue persist accross three different freshly set up PCs, starting with the machine of Joana 7 days ago.

Current Behavior

Workspace upgrade is aborted except openmpi is installed and can be found, e.g. by "which mpicc".

Expected Behavior

Installation should be finished without error.

Steps to Reproduce

Freshly install Ubuntu 22.04. Install axii and attempt to set up new ArmarX Workspace as describe by https://git.h2t.iar.kit.edu/sw/armarx/meta/axii step by step.

Diagnosis

Output of axii self report Scope ┃ Info ┃ ┡━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ Axii │ Version: 24.12.2.0 │ │ │ Release: stable-0 │ │ │ Install: global │ │ │ Shell integration: active │ │ OS │ Ubuntu 22.04.5 LTS │ │ Kernel │ Linux 6.8.0-40-generic #40 (closed)~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue │ │ │ Jul 30 17:30:19 UTC 2 x86_64 GNU/Linux │ │ Shell │ /bin/bash │ │ Python │ Python 3.10.12 │ │ Pip │ certifi==2024.12.14, charset-normalizer==2.0.12, click==8.0.0, │ │ │ commonmark==0.9.1, cycler==0.12.1, dbus-python==1.2.18, │ │ │ decorator==5.1.1, distro==1.7.0, gitdb==4.0.12, GitPython==3.1.18, │ │ │ idna==3.10, igraph==0.9.11, kiwisolver==1.4.8, matplotlib==3.3.0, │ │ │ networkx==2.5, notify2==0.3.1, numpy==1.23.0, pillow==11.1.0, │ │ │ psutil==5.9.4, Pygments==2.19.1, pygraphviz==1.6, pyparsing==3.2.1, │ │ │ PyQt5==5.15.0, PyQt5_sip==12.16.1, python-dateutil==2.9.0.post0, │ │ │ python-igraph==0.9.11, python-Levenshtein==0.12.2, │ │ │ requests==2.26.0, rich==12.6.0, rich-click==1.2.1, six==1.17.0, │ │ │ smmap==5.0.2, texttable==1.7.0, thefuzz==0.19.0, urllib3==1.26.20, │ │ │ xdg==5.1.1

More Relevant Logs or Screenshots

== Configuring target PointCloudViewerGuiPlugin ... == -- Could NOT find MPI_C (missing: MPI_C_WORKS) CMake Error at /home/schlosser/code/tools/cmake/3.21/cmake-3.21.3-linux-x86_64/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find MPI (missing: MPI_C_FOUND C) Call Stack (most recent call first): /home/schlosser/code/tools/cmake/3.21/cmake-3.21.3-linux-x86_64/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/lib/x86_64-linux-gnu/cmake/vtk-9.1/patches/3.22/FindMPI.cmake:1823 (find_package_handle_standard_args) /usr/lib/x86_64-linux-gnu/cmake/vtk-9.1/VTK-vtk-module-find-packages.cmake:397 (find_package) /usr/lib/x86_64-linux-gnu/cmake/vtk-9.1/vtk-config.cmake:150 (include) source/VisionX/gui-plugins/PointCloudViewer/CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred!

Edited by Christian Dreher