On 11/28/2016 05:29 PM, Susi Lehtola wrote:
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.
Yes, and see https://fedoraproject.org/wiki/Packaging:MPI
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxxxxxxx
Boulder, CO 80301 http://www.cora.nwra.com
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx