On 11/28/2016 04:20 AM, Johannes Lips wrote:
Am 28.11.2016 09:51, schrieb Johannes Lips:

The pregenerated configure-script looks for libmpi.so in "/usr/lib
 /usr/lib/openmpi /usr/lib64/openmpi/lib", but on i686 it's in
"/usr/lib/openmpi/lib". Regenerating the configure-script might
work. Something like "autoreconf --force --install" in %prep after
%setup. I can not test it at the moment (just windows-machines
around me at work).
Thanks a lot. I will try to regenerate the configure script, once I
am back home. I also reported it back to upstream, since I am not
sure if that's fedora specific.

Usually to compile MPI stuff you just set

CC=mpicc
CXX=mpic++
FC=mpifort

since those wrappers handle all the necessary libraries by themselves.

Also, note that %{_bindir} is NOT the right place to install OpenMPI binaries - they should go into %{_libdir}/openmpi/bin. They also should have the _openmpi suffix ($MPI_SUFFIX) to distinguish them from the sequential binaries. And the same goes for MPICH vs OpenMPI.
--
Susi Lehtola
Fedora Project Contributor
jussileht...@fedoraproject.org
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to