Dominique Leuenberger 2020-07-02 22:11:44 +00:00 committed by Git OBS Bridge
commit 3998425c60
3 changed files with 27 additions and 0 deletions

View File

@ -3,10 +3,12 @@
<package>openmpi1</package> <package>openmpi1</package>
<package>openmpi2</package> <package>openmpi2</package>
<package>openmpi3</package> <package>openmpi3</package>
<package>openmpi4</package>
<package>mvapich2</package> <package>mvapich2</package>
<package>gnu-openmpi-hpc</package> <package>gnu-openmpi-hpc</package>
<package>gnu-openmpi2-hpc</package> <package>gnu-openmpi2-hpc</package>
<package>gnu-openmpi3-hpc</package> <package>gnu-openmpi3-hpc</package>
<package>gnu-openmpi4-hpc</package>
<package>gnu-mvapich2-hpc</package> <package>gnu-mvapich2-hpc</package>
<package>gnu-mpich-hpc</package> <package>gnu-mpich-hpc</package>
<package>gnu-hpc</package> <package>gnu-hpc</package>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 24 07:32:58 UTC 2020 - Alin M Elena <alinm.elena@gmail.com>
- add openmpi4 packages to build and disable build for leap
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 17 14:54:44 UTC 2020 - Egbert Eich <eich@suse.com> Fri Apr 17 14:54:44 UTC 2020 - Egbert Eich <eich@suse.com>

View File

@ -25,6 +25,10 @@
%define DisOMPI3 ExclusiveArch: do_not_build %define DisOMPI3 ExclusiveArch: do_not_build
%endif %endif
%if 0%{?sle_version:1} && 0%{?sle_version} < 150300
%define DisOMPI4 ExclusiveArch: do_not_build
%endif
# Disable until resource issue is resolved. # Disable until resource issue is resolved.
%bcond_with check %bcond_with check
@ -67,6 +71,13 @@ ExclusiveArch: do_not_build
%bcond_with hpc %bcond_with hpc
%endif %endif
%if "%{flavor}" == "openmpi4"
%{?DisOMPI4}
%global mpi_flavor openmpi
%define mpi_vers 4
%bcond_with hpc
%endif
%if "%{flavor}" == "mvapich2" %if "%{flavor}" == "mvapich2"
%global mpi_flavor %{flavor} %global mpi_flavor %{flavor}
%bcond_with hpc %bcond_with hpc
@ -112,6 +123,15 @@ ExclusiveArch: do_not_build
%define mpi_vers 3 %define mpi_vers 3
%endif %endif
%if "%{flavor}" == "gnu-openmpi4-hpc"
%{?DisOMPI4}
%bcond_without hpc
%define compiler_family gnu
%undefine c_f_ver
%global mpi_flavor openmpi
%define mpi_vers 4
%endif
%if "%{flavor}" == "gnu-mpich-hpc" %if "%{flavor}" == "gnu-mpich-hpc"
%bcond_without hpc %bcond_without hpc
%define compiler_family gnu %define compiler_family gnu