diff --git a/.gitignore b/.gitignore index 5355bac..73119be 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/mpitests.spec b/mpitests.spec index 1e24a3e..216bd92 100644 --- a/mpitests.spec +++ b/mpitests.spec @@ -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 - 7.1-1 +- Update OSU benchmarks ito upstream release 7.1 +- Add gating tests. +- Resolves: rhbz#2220949 + * Fri Dec 10 2021 Honggang Li - 5.8-1 - Update OSU benchmarks to upstream release 5.8 - Update Intel MPI Benchmarks 2021.3 diff --git a/sources b/sources index 33b6987..b51da28 100644 --- a/sources +++ b/sources @@ -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 diff --git a/tests/run_tests.sh b/tests/run_tests.sh new file mode 100755 index 0000000..11017ab --- /dev/null +++ b/tests/run_tests.sh @@ -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 $? diff --git a/tests/sanity.sh b/tests/sanity.sh new file mode 100755 index 0000000..45c9418 --- /dev/null +++ b/tests/sanity.sh @@ -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 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..58583f2 --- /dev/null +++ b/tests/tests.yml @@ -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