Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

10 changed files with 72 additions and 64 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
SOURCES/mvapich2-2.3.7-1.tar.gz /mvapich2-2.3.5-2.tar.gz
/mvapich2-2.3.6.tar.gz
/mvapich2-2.3.7-1.tar.gz

11
gating.yaml Normal file
View File

@ -0,0 +1,11 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,7 +1,7 @@
%{!?python3_sitearch: %global python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python3_sitearch: %global python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: mvapich2 Name: mvapich2
%global upstream_ver 2.3.7-1 %global upstream_ver 2.3.7-1
Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))} Version: %{lua: print((string.gsub(rpm.expand("%{upstream_ver}"),"-",".")))}
Release: 1%{?dist} Release: 1%{?dist}
Summary: OSU MVAPICH2 MPI package Summary: OSU MVAPICH2 MPI package
@ -26,7 +26,7 @@ Source2: mvapich2.macros.in
# the configure scripts and Makefiles accordingly. # the configure scripts and Makefiles accordingly.
Patch1: 0001-mvapich23-unbundle-contrib-hwloc-and-osu_benchmarks.patch Patch1: 0001-mvapich23-unbundle-contrib-hwloc-and-osu_benchmarks.patch
BuildRequires: gcc-gfortran BuildRequires: gcc-gfortran, gcc-c++
BuildRequires: libibumad-devel, libibverbs-devel >= 1.1.3, librdmacm-devel BuildRequires: libibumad-devel, libibverbs-devel >= 1.1.3, librdmacm-devel
BuildRequires: python3-devel, perl-Digest-MD5, hwloc-devel, rdma-core-devel BuildRequires: python3-devel, perl-Digest-MD5, hwloc-devel, rdma-core-devel
BuildRequires: bison, flex BuildRequires: bison, flex
@ -115,6 +115,7 @@ cp -pr default psm2
%build %build
%set_build_flags %set_build_flags
export FFLAGS="$FFLAGS -fallow-argument-mismatch"
export AR=ar export AR=ar
%ifarch x86_64 %ifarch x86_64
@ -347,68 +348,22 @@ cd ..
%changelog %changelog
* Mon Jun 05 2023 Kamal Heib <kheib@redhat.com> - 2.3.7.1-1 * Mon Jun 05 2023 Kamal Heib <kheib@redhat.com> - 2.3.7.1-1
- Update to upstream release 2.3.7-1 - Update to upstream release 2.3.7-1
- Add gating tests - Resolves: rhbz#2212461
- Resolves: rhbz#2212462
* Thu May 13 2021 Honggang Li <honli@redhat.com> - 2.3.6-1 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.6-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Aug 6 2021 Florian Weimer <fweimer@redhat.com> - 2.3.6-2
- Rebuild to pick up new build flags from redhat-rpm-config (#1984652)
* Sun Jun 20 2021 Honggang Li <honli@redhat.com> - 2.3.6-1
- Update to upstream stable point release v2.3.6 - Update to upstream stable point release v2.3.6
- Resolves: rhbz#1960073 - Resolves: rhbz#1960478
* Tue Dec 01 2020 Honggang Li <honli@redhat.com> - 2.3.5-1 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.5-3
- Update to upstream stable point release v2.3.5 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Resolves: rhbz#1904914
* Wed Oct 14 2020 Honggang Li <honli@redhat.com> - 2.3.4-1 * Wed Feb 17 2021 Honggang Li <honli@redhat.com> - 2.3.5-2
- Update to upstream stable point release v2.3.4 - build mvapich2-2.3.5-2.tar.gz for RHEL9
- Build against hwloc-2.2.0 - Resolves: rhbz#1923559
- Resolves: rhbz#1850084
* Wed Apr 15 2020 Honggang Li <honli@redhat.com> - 2.3.3-1
- Update to upstream stable point release v2.3.3
- Fix floating point exception for non-NUMA machine
- Resolves: rhbz#1815962, rhbz#1814296
* Tue Nov 19 2019 Jarod Wilson <jarod@redhat.com> 2.3.2-2
- Add BR: rdma-core-devel and infiniband-diags-devel for infiniband/mad.h
- Related: rhbz#1708656
* Tue Nov 19 2019 Jarod Wilson <jarod@redhat.com> 2.3.2-1
- Update to upstream stable point release v2.3.2
- Resolves: rhbz#1708656
* Thu Nov 08 2018 Jarod Wilson <jarod@redhat.com> 2.3-5
- Add missing Provides: mpi and Requires: environment-modules to base mvapich2 package
- Resolves: rhbz#1647177
* Tue Sep 25 2018 Jarod Wilson <jarod@redhat.com> 2.3-4
- Clean up build/linker commands to better propagate distro-wide flags
- Explicitly disable ftb, blcr and fuse to prevent rpath flag creep
- Related: rhbz#1624147
* Fri Sep 14 2018 Jarod Wilson <jarod@redhat.com> 2.3-3
- Add missing BR on rpm-mpi-hooks
- Related: rhbz#1628630
* Thu Sep 13 2018 Jarod Wilson <jarod@redhat.com> 2.3-2
- Actually set MPI_PYTHON3_SITEARCH in modules file to fix deps
- Resolves: rhbz#1628630
* Mon Aug 13 2018 Jarod Wilson <jarod@redhat.com> 2.3-1
- Update to upstream v2.3 release
- Initial build for RHEL-8, featuring v2.3 only
- Resolves: #1483744
* Wed Jun 13 2018 Jarod Wilson <jarod@redhat.com> - 2.2-1.4
- Update mvapich23 (TrueScale) bits to 2.3rc2
* Thu Jan 18 2018 Michal Schmidt <mschmidt@redhat.com> - 2.2-1.3
- Rebuild in buildroot with updated RDMA stack.
* Wed Jan 17 2018 Michal Schmidt <mschmidt@redhat.com> - 2.2-1.2
- Add a 2.3b build variant for TrueScale: mvapich23-psm.
* Fri Nov 3 2017 Michal Schmidt <mschmidt@redhat.com> - 2.2-1.1
- Add mvapich2 2.3b as mvapich23 and mvapich23-psm2.
* Mon Mar 27 2017 Michal Schmidt <mschmidt@redhat.com> - 2.2-1
- Update to 2.2 GA.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (mvapich2-2.3.7-1.tar.gz) = 27e3f2018f205e97ea46d5474cc382e08af2cdf165b484dcd5bce602ce8800807798db913b6aed056fb09b9f0f45ab4188141d7fa074ee5ce55b0b7d207dcd50

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 $?

17
tests/sanity.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ret=$?
source /etc/profile.d/modules.sh
module load mpi/mvapich2-x86_64
mpichversion
let ret=$ret+$?
mpirun hostname
let ret=$ret+$?
exit $ret

12
tests/tests.yml Normal file
View File

@ -0,0 +1,12 @@
- 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
- mvapich2