- Add support for openmpi2 for HPC.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpiP?expand=0&rev=18
This commit is contained in:
Egbert Eich 2018-02-09 19:27:12 +00:00 committed by Git OBS Bridge
parent fcc6e8504f
commit 8ab8f9c703
3 changed files with 14 additions and 0 deletions

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 9 19:25:11 UTC 2018 - eich@suse.com
- Add support for openmpi2 for HPC.
-------------------------------------------------------------------
Fri Feb 9 15:33:26 UTC 2018 - eich@suse.com

View File

@ -40,6 +40,14 @@ ExclusiveArch: do_not_build
%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