Red Hat Bugzilla – Bug 1315343
mpic++ not in PATH
Last modified: 2016-03-07 11:35:52 EST
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 ***