Accepting request 562829 from science:HPC

- Add gcc7 as additional compiler flavor for HPC on SLES.
- Add support for mpich and openmpi3 for HPC. (forwarded request 562827 from eeich)

OBS-URL: https://build.opensuse.org/request/show/562829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpiP?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2018-01-10 22:35:01 +00:00 committed by Git OBS Bridge
commit 37828e1d19
3 changed files with 48 additions and 1 deletions

View File

@ -1,4 +1,6 @@
<multibuild>
<package>gnu-openmpi-hpc</package>
<package>gnu-openmpi3-hpc</package>
<package>gnu-mvapich2-hpc</package>
<package>gnu-mpich-hpc</package>
</multibuild>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 5 19:00:01 UTC 2018 - eich@suse.com
- Add gcc7 as additional compiler flavor for HPC on SLES.
- Add support for mpich and openmpi3 for HPC.
-------------------------------------------------------------------
Mon Nov 13 12:43:33 UTC 2017 - eich@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package mpiP
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,12 +33,51 @@ ExclusiveArch: do_not_build
%define mpi_ver 1
%endif
%if "%{flavor}" == "gnu-openmpi3-hpc"
%global compiler_family gnu
%undefine c_f_ver
%define mpi_family openmpi
%define mpi_ver 3
%endif
%if "%{flavor}" == "gnu-mvapich2-hpc"
%global compiler_family gnu
%undefine c_f_ver
%define mpi_family mvapich2
%endif
%if "%{flavor}" == "gnu-mpich-hpc"
%global compiler_family gnu
%undefine c_f_ver
%define mpi_family mpich
%endif
%if "%{flavor}" == "gnu7-openmpi-hpc"
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family openmpi
%define mpi_ver 1
%endif
%if "%{flavor}" == "gnu7-openmpi3-hpc"
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family openmpi
%define mpi_ver 3
%endif
%if "%{flavor}" == "gnu7-mvapich2-hpc"
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family mvapich2
%endif
%if "%{flavor}" == "gnu7-mpich-hpc"
%global compiler_family gnu
%define c_f_ver 7
%define mpi_family mpich
%endif
%{?hpc_init:%{hpc_init -c %compiler_family -m %mpi_family %{?c_f_ver:-v %{c_f_ver}} %{?mpi_ver:-V %{mpi_ver}} %{?ext:-e %{ext}}}}
Name: %{?hpc_package_name:%{hpc_package_name %_vers}}%{!?hpc_package_name:%pname}