Octave fails to start:
octave: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory
Description of problem:
Open MPI libraries point to /usr/lib64/openmpi/
Open MPI libraries point to /usr/lib64/mpich2/
But octave is unable to find then unless they are under /usr/lib64/
1) These two should conflict to each other
2) They need to be linked
ln -s /usr/lib64/openmpi/lib/libmpi.so.0 /usr/lib64/
ldconfig -l /usr/lib64/openmpi/*
ldconfig -l /usr/lib64/mpich2/*
and make the rpm to conflict with one another.
This is by design. We can't have different libraries with the same name, it would lead to strange results.
Besides, even if you load the libraries, you probably won't be able to use MPI. Seems like octave is somehow linked to the wrong version of hdf5.
I can't reproduce this.
$ rpm -q hdf5-openmpi octave
GNU Octave, version 3.4.2
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
You must have messed up your environment somehow.