gnu build requires scalapack
@@ -57,6 +57,11 @@ BuildRequires: libgomp1
BuildRequires: libgomp
%endif
+%if %{compiler_family} == "gnu"
+BuildRequires: scalapack-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
+Requires: scalapack-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
+%endif
+
# Default library install path
%define install_path %{OHPC_LIBS}/%{compiler_family}/%{mpi_family}/%{pname}/%version
