Hi Ehsan
You didn't tell the details of how you configured and installed Open MPI.
However, you must point the configuration --prefix to the installation
directory, say:
./configure --prefix=/opt/openmpi-1.8.8
In addition, the installation directory must be *different* from the
directory where
Ehsan,
how did you try to install openmpi ?
shall i assume you download a tarball, and ran configure && make install ?
can you post the full commands you ran ?
are you installing as root ? or did you run sudo make install ?
if not, do you have write access to the /opt/openmpi-1.8.8 directory ?