Hide Forgot
I installed openmpi. I use cmake to detect mpi. cmake relies on mpic++ in the PATH. When openmpi is installed, mpic++ is installed in /usr/lib64/openmpi/bin. This directory is not in the PATH and symbolic links are not created between /usr/lib64/openmpi/bin/mpic++ (and other binaries) and /usr/bin/mpic++. These links should be added and managed via update-alternatives (to allow to switch between mpich and openmpi).
*** This bug has been marked as a duplicate of bug 1271399 ***