set compiler/mpi_dependent for mumps
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+%define ohpc_compiler_dependent 1
+%define ohpc_mpi_dependent 1
%include %{_sourcedir}/OHPC_macros
-%ohpc_compiler
-
-%{!?mpi_family: %global mpi_family openmpi}
-
-%if "%{compiler_family}" != "intel"
-BuildRequires: scalapack-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
-Requires: scalapack-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
-%endif
-
-# MPI dependencies
-%if %{mpi_family} == impi
-BuildRequires: intel-mpi-devel%{PROJ_DELIM}
-Requires: intel-mpi-devel%{PROJ_DELIM}
-%endif
-%if %{mpi_family} == mvapich2
-BuildRequires: mvapich2-%{compiler_family}%{PROJ_DELIM}
-Requires: mvapich2-%{compiler_family}%{PROJ_DELIM}
-%endif
-%if %{mpi_family} == openmpi
-BuildRequires: openmpi-%{compiler_family}%{PROJ_DELIM}
-Requires: openmpi-%{compiler_family}%{PROJ_DELIM}
-%endif
-%if %{mpi_family} == mpich
-BuildRequires: mpich-%{compiler_family}%{PROJ_DELIM}
-Requires: mpich-%{compiler_family}%{PROJ_DELIM}
-%endif
# Base package name
%define pname mumps
