Verified Commit 68c78a9c authored by Adam Mercer's avatar Adam Mercer
Browse files

lalapps: force linking against system libmpi

parent b5fb8e0f
......@@ -115,6 +115,8 @@ Algorithm Library.
%setup -q -n %{name}-%{version}%{?nightly:-%{nightly}}
# force linking agsinst system libmpi
export OMPI_LIBS="-lmpi -Wl,--disable-new-dtags"
%configure --disable-gcc-flags --enable-cfitsio --enable-openmp --enable-mpi MPICC=/usr/lib64/openmpi/bin/mpicc MPICXX=/usr/lib64/openmpi/bin/mpicxx MPIFC=/usr/lib64/openmpi/bin/mpifc
%{__make} %{?_smp_mflags} V=1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment