Accepting request 1119555 from home:NMorey:branches:science:HPC

- Drop support for openmpi[123] (jsc#PED-7111)
- Prepare support for openmpi5

OBS-URL: https://build.opensuse.org/request/show/1119555
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpiP?expand=0&rev=44
This commit is contained in:
Nicolas Morey 2023-10-23 09:43:19 +00:00 committed by Git OBS Bridge
parent 159a08696b
commit ca7fca6d7e
3 changed files with 46 additions and 123 deletions

View File

@ -1,7 +1,4 @@
<multibuild> <multibuild>
<package>gnu-openmpi-hpc</package>
<package>gnu-openmpi2-hpc</package>
<package>gnu-openmpi3-hpc</package>
<package>gnu-openmpi4-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>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 20 10:25:56 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com>
- Drop support for openmpi[123] (jsc#PED-7111)
- Prepare support for openmpi5
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 10 09:40:37 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com> Tue Oct 10 09:40:37 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com>

160
mpiP.spec
View File

@ -32,30 +32,6 @@
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%endif %endif
%if "%{flavor}" == "gnu-openmpi-hpc"
%{?DisOMPI1}
%global compiler_family gnu
%undefine c_f_ver
%define mpi_family openmpi
%define mpi_ver 1
%endif
%if "%{flavor}" == "gnu-openmpi2-hpc"
%{?DisOMPI2}
%global compiler_family gnu
%undefine c_f_ver
%define mpi_family openmpi
%define mpi_ver 2
%endif
%if "%{flavor}" == "gnu-openmpi3-hpc"
%{?DisOMPI3}
%global compiler_family gnu
%undefine c_f_ver
%define mpi_family openmpi
%define mpi_ver 3
%endif
%if "%{flavor}" == "gnu-openmpi4-hpc" %if "%{flavor}" == "gnu-openmpi4-hpc"
%{?DisOMPI4} %{?DisOMPI4}
%global compiler_family gnu %global compiler_family gnu
@ -64,6 +40,14 @@ ExclusiveArch: do_not_build
%define mpi_ver 4 %define mpi_ver 4
%endif %endif
%if "%{flavor}" == "gnu-openmpi5-hpc"
%{?DisOMPI5}
%global compiler_family gnu
%undefine c_f_ver
%define mpi_family openmpi
%define mpi_ver 5
%endif
%if "%{flavor}" == "gnu-mvapich2-hpc" %if "%{flavor}" == "gnu-mvapich2-hpc"
%global compiler_family gnu %global compiler_family gnu
%undefine c_f_ver %undefine c_f_ver
@ -76,30 +60,6 @@ ExclusiveArch: do_not_build
%define mpi_family mpich %define mpi_family mpich
%endif %endif
%if "%{flavor}" == "gnu7-openmpi-hpc"
%{?DisOMPI1}
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family openmpi
%define mpi_ver 1
%endif
%if "%{flavor}" == "gnu7-openmpi2-hpc"
%{?DisOMPI3}
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family openmpi
%define mpi_ver 2
%endif
%if "%{flavor}" == "gnu7-openmpi3-hpc"
%{?DisOMPI3}
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family openmpi
%define mpi_ver 3
%endif
%if "%{flavor}" == "gnu7-openmpi4-hpc" %if "%{flavor}" == "gnu7-openmpi4-hpc"
%{?DisOMPI4} %{?DisOMPI4}
%global compiler_family gnu %global compiler_family gnu
@ -108,6 +68,14 @@ ExclusiveArch: do_not_build
%define mpi_ver 4 %define mpi_ver 4
%endif %endif
%if "%{flavor}" == "gnu7-openmpi5-hpc"
%{?DisOMPI5}
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family openmpi
%define mpi_ver 5
%endif
%if "%{flavor}" == "gnu7-mvapich2-hpc" %if "%{flavor}" == "gnu7-mvapich2-hpc"
%global compiler_family gnu %global compiler_family gnu
%define c_f_ver 7 %define c_f_ver 7
@ -120,30 +88,6 @@ ExclusiveArch: do_not_build
%define mpi_family mpich %define mpi_family mpich
%endif %endif
%if "%{flavor}" == "gnu8-openmpi-hpc"
%{?DisOMPI1}
%global compiler_family gnu
%define c_f_ver 8
%define mpi_family openmpi
%define mpi_ver 1
%endif
%if "%{flavor}" == "gnu8-openmpi2-hpc"
%{?DisOMPI2}
%global compiler_family gnu
%define c_f_ver 8
%define mpi_family openmpi
%define mpi_ver 2
%endif
%if "%{flavor}" == "gnu8-openmpi3-hpc"
%{?DisOMPI3}
%global compiler_family gnu
%define c_f_ver 8
%define mpi_family openmpi
%define mpi_ver 3
%endif
%if "%{flavor}" == "gnu8-openmpi4-hpc" %if "%{flavor}" == "gnu8-openmpi4-hpc"
%{?DisOMPI4} %{?DisOMPI4}
%global compiler_family gnu %global compiler_family gnu
@ -152,6 +96,14 @@ ExclusiveArch: do_not_build
%define mpi_ver 4 %define mpi_ver 4
%endif %endif
%if "%{flavor}" == "gnu8-openmpi5-hpc"
%{?DisOMPI5}
%global compiler_family gnu
%define c_f_ver 8
%define mpi_family openmpi
%define mpi_ver 5
%endif
%if "%{flavor}" == "gnu8-mvapich2-hpc" %if "%{flavor}" == "gnu8-mvapich2-hpc"
%global compiler_family gnu %global compiler_family gnu
%define c_f_ver 8 %define c_f_ver 8
@ -164,30 +116,6 @@ ExclusiveArch: do_not_build
%define mpi_family mpich %define mpi_family mpich
%endif %endif
%if "%{flavor}" == "gnu9-openmpi-hpc"
%{?DisOMPI1}
%global compiler_family gnu
%define c_f_ver 9
%define mpi_family openmpi
%define mpi_ver 1
%endif
%if "%{flavor}" == "gnu9-openmpi2-hpc"
%{?DisOMPI2}
%global compiler_family gnu
%define c_f_ver 9
%define mpi_family openmpi
%define mpi_ver 2
%endif
%if "%{flavor}" == "gnu9-openmpi3-hpc"
%{?DisOMPI3}
%global compiler_family gnu
%define c_f_ver 9
%define mpi_family openmpi
%define mpi_ver 3
%endif
%if "%{flavor}" == "gnu9-openmpi4-hpc" %if "%{flavor}" == "gnu9-openmpi4-hpc"
%{?DisOMPI4} %{?DisOMPI4}
%global compiler_family gnu %global compiler_family gnu
@ -196,6 +124,14 @@ ExclusiveArch: do_not_build
%define mpi_ver 4 %define mpi_ver 4
%endif %endif
%if "%{flavor}" == "gnu9-openmpi5-hpc"
%{?DisOMPI5}
%global compiler_family gnu
%define c_f_ver 9
%define mpi_family openmpi
%define mpi_ver 5
%endif
%if "%{flavor}" == "gnu9-mvapich2-hpc" %if "%{flavor}" == "gnu9-mvapich2-hpc"
%global compiler_family gnu %global compiler_family gnu
%define c_f_ver 9 %define c_f_ver 9
@ -208,30 +144,6 @@ ExclusiveArch: do_not_build
%define mpi_family mpich %define mpi_family mpich
%endif %endif
%if "%{flavor}" == "gnu10-openmpi-hpc"
%{?DisOMPI1}
%global compiler_family gnu
%define c_f_ver 10
%define mpi_family openmpi
%define mpi_ver 1
%endif
%if "%{flavor}" == "gnu10-openmpi2-hpc"
%{?DisOMPI2}
%global compiler_family gnu
%define c_f_ver 10
%define mpi_family openmpi
%define mpi_ver 2
%endif
%if "%{flavor}" == "gnu10-openmpi3-hpc"
%{?DisOMPI3}
%global compiler_family gnu
%define c_f_ver 10
%define mpi_family openmpi
%define mpi_ver 3
%endif
%if "%{flavor}" == "gnu10-openmpi4-hpc" %if "%{flavor}" == "gnu10-openmpi4-hpc"
%{?DisOMPI4} %{?DisOMPI4}
%global compiler_family gnu %global compiler_family gnu
@ -240,6 +152,14 @@ ExclusiveArch: do_not_build
%define mpi_ver 4 %define mpi_ver 4
%endif %endif
%if "%{flavor}" == "gnu10-openmpi5-hpc"
%{?DisOMPI5}
%global compiler_family gnu
%define c_f_ver 10
%define mpi_family openmpi
%define mpi_ver 5
%endif
%if "%{flavor}" == "gnu10-mvapich2-hpc" %if "%{flavor}" == "gnu10-mvapich2-hpc"
%global compiler_family gnu %global compiler_family gnu
%define c_f_ver 10 %define c_f_ver 10