Commit Graph

109 Commits

Author SHA1 Message Date
Trent Piepho
9c4cca7ca2 Fix building with no MPI types enabled
If both mpich and openmpi are not used (via --without options) the build
fails.  The list of mpi types is undefined in this case, and it is not
referenced correctly to be treated as an empty list.

Signed-off-by: Trent Piepho <tpiepho@gmail.com>
2023-03-27 11:11:29 -07:00
Trent Piepho
a38e99cafd Allow openmpi tests on systems with less than 4 processors
The MPI tests use up to four processes.  By default, OpenMPI won't allow
more processes than processors and the tests will fail on a two
processor VM.  Using the --oversubscribe option will allow the tests to
run.

mpich doesn't have this limit by default and doesn't need or support
this option.

Signed-off-by: Trent Piepho <tpiepho@gmail.com>
2023-03-27 11:11:29 -07:00
Trent Piepho
d3c0a816a6 Reduce precision list duplication
Use the same list of precision names when building MPI versions as well
as the install and check stages.

Instead of having two for loops, one for quad support and one without,
just have one loop and make the number of precisions a macro.

Signed-off-by: Trent Piepho <tpiepho@gmail.com>
2023-03-27 11:11:29 -07:00
Trent Piepho
f8340f3728 Enable NEON on aarch64
The original reason NEON was disabled was lack of runtime detection.  It
should be runtime detected on Linux.

NEON is also required for ARMv8, so it's reasonable to expect every
aarch64 host to have it.  FFTW should still work without NEON, but I
don't know of any aarch64 CPU without it to test this on.

Signed-off-by: Trent Piepho <tpiepho@gmail.com>
2023-03-27 11:11:29 -07:00
Trent Piepho
eb1985b40f Enable AVX2
FFTW does runtime detection of CPU features on x86, so this change does
not require AVX2 support to use the libraries, but does allow FFTW to
use the AVX2 code when the CPU supports it.

Signed-off-by: Trent Piepho <tpiepho@gmail.com>
2023-03-27 11:11:25 -07:00
David Cantrell
3bf4c36be9 Revert "Enable AVX2 on x86_64"
This reverts commit eed891dc9d.
2023-03-27 12:04:32 -04:00
David Cantrell
eed891dc9d Enable AVX2 on x86_64
Enable NEON on aarch64
Clean up precision list
Fix for OpenMPI build with < 4 processors
Fix building with no enabled MPI types
Enable single precision Altivec on PPC
Enable CNTVCT_EL0 cycle counter support on aarch64

Signed-off-by: David Cantrell <dcantrell@redhat.com>
2023-03-27 10:31:36 -04:00
Orion Poplawski
424a4518bf Use make macros
Drop openmpi vader workaround
2023-03-01 21:33:51 -07:00
Orion Poplawski
d5894d8375 Allow oversubscription with openmpi 2023-02-19 14:32:11 -07:00
Fedora Release Engineering
b6ba4c02f7 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:24:01 +00:00
Fedora Release Engineering
cb1d584977 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:07:56 +00:00
Fedora Release Engineering
2658eaa2f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 02:57:57 +00:00
David Cantrell
9f430cc911 Upgrade to fftw-3.3.10
Signed-off-by: David Cantrell <david.l.cantrell@gmail.com>
2021-12-20 12:04:55 -05:00
Fedora Release Engineering
84a03db2dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 22:55:42 +00:00
Fedora Release Engineering
994963bb8a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:30:03 +00:00
Tom Stellard
a430d4badf Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 00:30:28 +00:00
Fedora Release Engineering
b8e059c54e - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:58:05 +00:00
Fedora Release Engineering
63b5c2681a - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:24:21 +00:00
Fedora Release Engineering
9a18a58e75 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 18:26:23 +00:00
Fedora Release Engineering
b01e78f906 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 00:31:09 +00:00
Tim Landscheidt
c0b04151f5 Remove obsolete requirements for %post/%preun scriptlets 2019-03-07 22:58:48 +00:00
Orion Poplawski
58ddace121 Rebuild for openmpi 3.1.3 2019-02-13 19:42:49 -07:00
Fedora Release Engineering
0980d66708 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 19:39:50 +00:00
Igor Gnatenko
d52e5700c2 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:01 +01:00
Igor Gnatenko
5ff7b44ad4
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 15:30:19 +01:00
Fedora Release Engineering
9a8a37f6a7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 00:32:13 +00:00
Conrad Meyer
35f3a8dff5 Update to latest upstream, 3.3.8 (rhbz# 1413425)
* Add missing BuildRequires on environment-modules, used in 43b91c1c ("Build
  mpich and openmpi versions") without explicit BR dependency

* Add new cmake files to %files
2018-06-11 12:12:44 -07:00
Merlin Mathesius
d13ca2a5e2 Regenerate autoconf files using current tools so proper build flags
from redhat-rpm-config are used. This resolves BZ#1548473.
2018-04-18 14:24:50 -05:00
Fedora Release Engineering
1a91de9e5b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 09:36:04 +00:00
Igor Gnatenko
01d276f3bc
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 16:24:07 +01:00
Merlin Mathesius
2708ef1b8f Disable Open MPI's vader byte transfer layer while running tests on 32-bit x86 platforms
to resolve FTBFS issue (BZ#1518038).
2017-11-28 18:59:10 -06:00
Fedora Release Engineering
695af94ef9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 20:33:04 +00:00
Fedora Release Engineering
a83bf9f62b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 08:20:27 +00:00
Petr Písař
13d78351ae perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:45:55 +02:00
Fedora Release Engineering
00560c02bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 09:44:55 +00:00
Orion Poplawski
ba87b269c0 Rebuild for openmpi 2.0 2016-10-21 15:20:37 -06:00
Dan Horák
e268a16798 - Update BRs so nss-myhostname (provided by systemd) is included also
in mpich-only builds (Related: #1383271)
2016-10-10 12:47:20 +02:00
Orion Poplawski
43b91c1c5b Build mpich and openmpi versions 2016-10-07 09:53:19 -06:00
Orion Poplawski
cd300a55fd Update to 3.3.5
- Cleanup spec
2016-10-05 09:52:39 -06:00
Dennis Gilmore
4463f2d901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 20:28:04 +00:00
Dennis Gilmore
2ef08e610f - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 06:16:19 +00:00
Peter Robinson
df626c8de8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 12:19:33 +00:00
Peter Robinson
310c96731d Disable NEON on ARM (we don't enable by default, needs runtime detection) 2014-07-04 12:40:27 +01:00
Peter Robinson
5e1dd963bd - Disable SSE2/AVX on x86(32) as we support Pentium Pro as base
- SSE2 only arrived with P-4
- https://fedoraproject.org/wiki/Features/F12X86Support
- Fix ARM macro
2014-07-04 11:54:36 +01:00
Conrad Meyer
7b518bf73d Build with --enable-avx (rhbz# 1114964) 2014-07-03 13:39:40 -04:00
Dennis Gilmore
fe2057e72a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 07:00:36 -05:00
Susi Lehtola
47ae49782f Update to 3.3.4. 2014-03-18 10:58:28 +02:00
Conrad Meyer
97339921b8 Oops, fix some missed %openmp macros 2013-12-14 18:55:23 -05:00
Conrad Meyer
aa01c17a17 Remove non-OpenMP / g77 build for obsolete RHEL (< 5)
- Remove ancient Obsoletes (fftw < 3.3, Fedora < 16)
- Remove ancient non-Quad build (Fedora < 15)
- Remove obsolete conditional on BuildArch: noarch (RHEL < 6, Fedora < 13)
2013-12-14 18:53:26 -05:00
Dennis Gilmore
922560a617 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 06:09:55 -05:00