From 111763a1197250a951f0e42f4b3c37c1518d6db3906dcbbe8737eab592319c11 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 4 Dec 2019 12:53:57 +0000 Subject: [PATCH] - Add openmpi3 non-HPC build flavor. OBS-URL: https://build.opensuse.org/package/show/science/mumps?expand=0&rev=41 --- mumps.changes | 1 + mumps.spec | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/mumps.changes b/mumps.changes index 57a4823..3c9ec97 100644 --- a/mumps.changes +++ b/mumps.changes @@ -4,6 +4,7 @@ Tue Dec 3 12:06:39 UTC 2019 - Egbert Eich - Set %mpi_ver for scotch-openmpi - Remove requires for libblacs from HPC builds which is not required there. +- Add openmpi3 non-HPC build flavor. ------------------------------------------------------------------- Fri Nov 29 22:10:30 UTC 2019 - Egbert Eich diff --git a/mumps.spec b/mumps.spec index eca4429..c48c988 100644 --- a/mumps.spec +++ b/mumps.spec @@ -66,6 +66,13 @@ ExclusiveArch: do_not_build %bcond_with hpc %endif +%if "%{flavor}" == "openmpi3" +%define mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 3 +%bcond_with hpc +%endif + %if "%{flavor}" == "mvapich2" %define mpi_family mvapich2 %define mumps_f77_mpilibs -lfmpich -lmpich