diff --git a/.gitignore b/.gitignore index 318284c..22e7953 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ SOURCES/IMB-v2021.3.tar.gz -SOURCES/osu-micro-benchmarks-5.8.tgz +SOURCES/osu-micro-benchmarks-7.1-1.tar.gz diff --git a/.mpitests.metadata b/.mpitests.metadata index 3685930..d087f6c 100644 --- a/.mpitests.metadata +++ b/.mpitests.metadata @@ -1,2 +1,2 @@ 54718f6312d64e6500605aadccbbd5461e5ae818 SOURCES/IMB-v2021.3.tar.gz -eb56cd190fb838b99a9bfcc530005452d81bafb8 SOURCES/osu-micro-benchmarks-5.8.tgz +8c9a1e9761af580b3bcfc6f60c73d7c697c62807 SOURCES/osu-micro-benchmarks-7.1-1.tar.gz diff --git a/SOURCES/0001-Avoid-build-failure-for-i686.patch b/SOURCES/0001-Avoid-build-failure-for-i686.patch new file mode 100644 index 0000000..e5fb516 --- /dev/null +++ b/SOURCES/0001-Avoid-build-failure-for-i686.patch @@ -0,0 +1,28 @@ +From 37a4deab051d89b95159c4a3559dd084ec7df1c4 Mon Sep 17 00:00:00 2001 +From: Kamal Heib +Date: Mon, 10 Jul 2023 13:15:27 -0400 +Subject: [PATCH] Avoid build failure for i686 + +Signed-off-by: Kamal Heib +--- + c/util/osu_util_validation.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/c/util/osu_util_validation.c b/c/util/osu_util_validation.c +index c2cd1fa14c1c..f04ed3c1d958 100644 +--- a/c/util/osu_util_validation.c ++++ b/c/util/osu_util_validation.c +@@ -299,8 +299,10 @@ static int atom_binary_compare(MPI_Datatype dtype, void *a, void *b) + return COMPARE_AS_TYPE(__int32_t, a, b); + case 8: + return COMPARE_AS_TYPE(__int64_t, a, b); ++#ifndef __i686__ + case 16: + return COMPARE_AS_TYPE(__int128_t, a, b); ++#endif + } + return 0; + } +-- +2.41.0 + diff --git a/SPECS/mpitests.spec b/SPECS/mpitests.spec index 5db2cac..2a34ec1 100644 --- a/SPECS/mpitests.spec +++ b/SPECS/mpitests.spec @@ -1,9 +1,9 @@ %global intel_mpi_bench_vers IMB-v2021.3 -%global osu_micro_bench_vers 5.8 +%global osu_micro_bench_vers 7.1-1 Summary: MPI Benchmarks and tests Name: mpitests -Version: 5.8 -Release: 1%{?dist} +Version: 7.1 +Release: 2%{?dist} License: CPL and BSD Group: Applications/Engineering # These days we get the benchmark soucres from Intel and OSU directly @@ -11,9 +11,10 @@ Group: Applications/Engineering URL: http://www.openfabrics.org # https://software.intel.com/en-us/articles/intel-mpi-benchmarks Source0: https://github.com/intel/mpi-benchmarks/archive/%{intel_mpi_bench_vers}.tar.gz -Source1: http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-%{osu_micro_bench_vers}.tgz +Source1: http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-%{osu_micro_bench_vers}.tar.gz # Only for old openmpi #Patch101: OMB-disable-collective-async.patch +Patch0001: 0001-Avoid-build-failure-for-i686.patch BuildRequires: hwloc-devel, libibmad-devel, rdma-core-devel BuildRequires: automake, autoconf, libtool BuildRequires: gcc, gcc-c++ @@ -68,7 +69,8 @@ MPI test suite compiled against the mvapich2 package using OmniPath %prep %setup -c %setup -T -D -a 1 -cd osu-micro-benchmarks-5.8 +cd osu-micro-benchmarks-7.1-1 +%patch0001 -p1 cd .. %build @@ -172,6 +174,14 @@ do_install %endif %changelog +* Tue Jul 11 2023 Kamal Heib - 7.1-2 +- Avoid build failure for i636 +- Resolves: rhbz#2220941 + +* Thu Jul 06 2023 Kamal Heib - 7.1-1 +- Update OSU benchmarks to upstream release 7.1 +- Resolves: rhbz#2220941 + * Wed Dec 08 2021 Honggang Li - 5.8-1 - Update OSU benchmarks to upstream release 5.8 - Update Intel MPI Benchmarks 2021.3