Update OSU benchmarks ito upstream release 7.1

Update package and add gating tests.
Resolves: rhbz#2220949

Signed-off-by: Kamal Heib <kheib@redhat.com>
This commit is contained in:
Kamal Heib 2023-07-06 12:38:14 -04:00
parent 2bfe95f999
commit c1cf8631f8
6 changed files with 71 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ SOURCES/IMB-v2021.3.tar.gz
SOURCES/osu-micro-benchmarks-5.8.tgz
/IMB-v2021.3.tar.gz
/osu-micro-benchmarks-5.8.tgz
/osu-micro-benchmarks-7.1-1.tar.gz

View File

@ -1,8 +1,8 @@
%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
Version: 7.1
Release: 1%{?dist}
License: CPL and BSD
Group: Applications/Engineering
@ -11,7 +11,7 @@ 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
BuildRequires: hwloc-devel, libibmad-devel, rdma-core-devel
@ -68,7 +68,7 @@ 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
cd ..
%build
@ -172,6 +172,11 @@ do_install
%endif
%changelog
* Thu Jul 06 2023 Kamal Heib <kheib@redhat.com> - 7.1-1
- Update OSU benchmarks ito upstream release 7.1
- Add gating tests.
- Resolves: rhbz#2220949
* Fri Dec 10 2021 Honggang Li <honli@redhat.com> - 5.8-1
- Update OSU benchmarks to upstream release 5.8
- Update Intel MPI Benchmarks 2021.3

View File

@ -1,2 +1,2 @@
SHA512 (osu-micro-benchmarks-7.1-1.tar.gz) = 29c7d6cbb98a0c48deac2765eb18cac0c57609d29bfd90ca66181ca496333690efc55423639cad7268493db5aeb9fb4de0528bb2cf2757f9e579dfbaf777e912
SHA512 (IMB-v2021.3.tar.gz) = fdb1a2426b5999c58c5d15228c64a80f28f4051d438e86a132f0fc42c3cda88f0e1bbcb792316617864d0f4d07d89143a96f3824bd4806fc8cde3c2dcb1d4094
SHA512 (osu-micro-benchmarks-5.8.tgz) = 349f4cbc768814a54add6a135fde7efde117eb108763c888879b9b3c45d4395e819f044d4705776a57f49790b4c90117ebaa86f9bf5802dc5f9f48e9f92a6a07

10
tests/run_tests.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# when running this in 1minutetip the PATH must be specified to execute
# in the local directory.
echo "Setting path to local directory"
PATH=$PATH:$(pwd)
# simple sanity test
sanity.sh
exit $?

37
tests/sanity.sh Executable file
View File

@ -0,0 +1,37 @@
#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ret=0
source /etc/profile.d/modules.sh
module load mpi/openmpi-x86_64
mpitests-IMB-EXT Window Accumulate
let ret=$ret+$?
mpitests-IMB-IO S_Write_Indv S_Read_Indv
let ret=$ret+$?
mpitests-IMB-IO P_IWrite_Indv P_IRead_Indv
let ret=$ret+$?
mpitests-IMB-IO C_Write_Shared C_Read_Shared
let ret=$ret+$?
mpitests-IMB-IO Open_Close
let ret=$ret+$?
mpitests-IMB-RMA All_put_all All_get_all
let ret=$ret+$?
mpitests-osu_hello
let ret=$ret+$?
mpitests-osu_init
let ret=$ret+$?
module unload mpi/openmpi-x86_64
exit $ret

13
tests/tests.yml Normal file
View File

@ -0,0 +1,13 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder
run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test
required_packages:
- environment-modules
- openmpi
- mpitests-openmpi