Re: OpenMPI binary only created on 64bit not on 32bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
jussilehtola@xxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux