Summary: Intel MPI benchmarks Name: intel-mpi-benchmarks Version: 2018.0 Release: 3.dl1%{?dist} License: CPL URL: https://software.intel.com/en-us/articles/intel-mpi-benchmarks Source0: https://github.com/intel/mpi-benchmarks/archive/v%{version}.tar.gz BuildRequires: gcc %global desc The Intel MPI Benchmarks perform a set of MPI performance measurements for\ point-to-point and global communication operations for a range of message\ sizes. The generated benchmark data fully characterizes:\ - Performance of a cluster system, including node performance, network\ latency, and throughput\ - Efficiency of the MPI implementation used %description %{desc} %package license Summary: License of Intel MPI benchmarks BuildArch: noarch %description license This package contains the license of Intel MPI benchmarks. %package openmpi Summary: Intel MPI benchmarks compiled against openmpi BuildRequires: openmpi-devel # Require explicitly for dir ownership and to guarantee the pickup of the right runtime Requires: openmpi Requires: %{name}-license = %{version}-%{release} %description openmpi %{desc} This package was built against the Open MPI implementation of MPI. %if 0%{?el7} %package openmpi3 Summary: Intel MPI benchmarks compiled against openmpi3 BuildRequires: openmpi3-devel # Require explicitly for dir ownership and to guarantee the pickup of the right runtime Requires: openmpi3 Requires: %{name}-license = %{version}-%{release} %description openmpi3 %{desc} This package was built against the Open MPI 3 implementation of MPI. %endif %package mpich Summary: Intel MPI benchmarks compiled against mpich BuildRequires: mpich-devel # Require explicitly for dir ownership and to guarantee the pickup of the right runtime Requires: mpich Requires: %{name}-license = %{version}-%{release} %description mpich %{desc} This package was built against the MPICH implementation of MPI. %prep %setup -q -n mpi-benchmarks-%{version} %build do_build() { mkdir .$MPI_COMPILER cp -al * .$MPI_COMPILER mv .$MPI_COMPILER build-$MPI_COMPILER cd build-$MPI_COMPILER/src make -f make_mpich OPTFLAGS="%{optflags}" MPI_HOME="$MPI_HOME" all cd ../.. } # do N builds, one for each mpi stack %{_openmpi_load} do_build %{_openmpi_unload} %if 0%{?el7} %{_openmpi3_load} do_build %{_openmpi3_unload} %endif %{_mpich_load} do_build %{_mpich_unload} %install do_install() { mkdir -p %{buildroot}$MPI_BIN cd build-$MPI_COMPILER/src for f in IMB-*; do cp "$f" "%{buildroot}$MPI_BIN/${f}$MPI_SUFFIX" done cd ../.. } # do N installs, one for each mpi stack %{_openmpi_load} do_install %{_openmpi_unload} %if 0%{?el7} %{_openmpi3_load} do_install %{_openmpi3_unload} %endif %{_mpich_load} do_install %{_mpich_unload} %files license %license license/{,use-of-trademark-}license.txt %files openmpi %{_libdir}/openmpi/bin/IMB-MPI1_openmpi %{_libdir}/openmpi/bin/IMB-EXT_openmpi %{_libdir}/openmpi/bin/IMB-IO_openmpi %{_libdir}/openmpi/bin/IMB-NBC_openmpi %{_libdir}/openmpi/bin/IMB-RMA_openmpi %if 0%{?el7} %files openmpi3 %{_libdir}/openmpi3/bin/IMB-MPI1_openmpi3 %{_libdir}/openmpi3/bin/IMB-EXT_openmpi3 %{_libdir}/openmpi3/bin/IMB-IO_openmpi3 %{_libdir}/openmpi3/bin/IMB-NBC_openmpi3 %{_libdir}/openmpi3/bin/IMB-RMA_openmpi3 %endif %files mpich %{_libdir}/mpich/bin/IMB-MPI1_mpich %{_libdir}/mpich/bin/IMB-EXT_mpich %{_libdir}/mpich/bin/IMB-IO_mpich %{_libdir}/mpich/bin/IMB-NBC_mpich %{_libdir}/mpich/bin/IMB-RMA_mpich %changelog * Mon Jan 21 2019 Dave Love - 2018.0-3.dl1 - Add openmpi3 version for el7 - Fix files sections for el7 * Fri Jul 13 2018 Fedora Release Engineering - 2018.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2018.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 03 2017 Michal Schmidt - 2018.0-1 - Update to upstream release v2018.0. - The doc/ directory has been removed by upstream. The -doc subpackage is gone. * Wed Aug 02 2017 Fedora Release Engineering - 2017-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2017-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Mar 07 2017 Michal Schmidt - 2017-2 - Remove HTML docs from the tarball due to non-free JavaScript files. * Wed Feb 22 2017 Michal Schmidt - 2017-1 - Initial package for Fedora. - Parts copied from the mpitests package from RHEL.