diff --git a/openmpi4.changes b/openmpi4.changes index 928be07..4c55645 100644 --- a/openmpi4.changes +++ b/openmpi4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 28 11:08:54 UTC 2021 - Nicolas Morey-Chaisemartin + +- openmpi4 is now the default openmpi for releases > 15.3 + ------------------------------------------------------------------- Wed Apr 28 09:24:33 UTC 2021 - Nicolas Morey-Chaisemartin diff --git a/openmpi4.spec b/openmpi4.spec index 0f424d1..724bb48 100644 --- a/openmpi4.spec +++ b/openmpi4.spec @@ -104,7 +104,11 @@ ExclusiveArch: do_not_build %endif # Detect whether we are the default openMPI implemantation or not +%if "%{flavor}" == "standard" && (%{suse_version} > 1500 || 0%{?sle_version} > 150300) +%define default_openmpi 1 +%else %define default_openmpi 0 +%endif %if %{with hpc} %{!?compiler_family:%global compiler_family gnu}