Allow openmpi tests for fftw to succeed on systems with fewer than 4 processors
Resolves: RHEL-156738
This commit is contained in:
parent
8833576a5c
commit
6e668ff793
10
fftw.spec
10
fftw.spec
@ -14,7 +14,7 @@
|
||||
|
||||
Name: fftw
|
||||
Version: 3.3.8
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Summary: A Fast Fourier Transform library
|
||||
License: GPLv2+
|
||||
URL: http://www.fftw.org
|
||||
@ -348,6 +348,9 @@ do
|
||||
# Force linking the _mpi.so libraries with the mpi libs. This works because
|
||||
# we get rid of all of the non-mpi components of these builds
|
||||
export CC=mpicc
|
||||
if [ $mpi = "openmpi" ]; then
|
||||
export MPIRUN="mpirun --oversubscribe"
|
||||
fi
|
||||
%{configure} ${BASEFLAGS} ${prec_flags[iprec]} --enable-mpi \
|
||||
--libdir=%{_libdir}/$mpi/lib \
|
||||
--bindir=%{_libdir}/$mpi/bin \
|
||||
@ -413,6 +416,8 @@ done
|
||||
export OMPI_MCA_btl="^vader"
|
||||
%endif
|
||||
%endif
|
||||
# Allow oversubscription with openmpi
|
||||
export OMPI_MCA_rmaps_base_oversubscribe=1
|
||||
for mpi in %{mpi_list}
|
||||
do
|
||||
module load mpi/${mpi}-%{_arch}
|
||||
@ -543,6 +548,9 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Mar 17 2026 Joe VLcek <jvlcek@redhat.com> - 3.3.8-13
|
||||
- Fix for OpenMPI build with < 4 processors
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.8-12
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
Loading…
Reference in New Issue
Block a user