diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py index 2a67d87768..033e41d305 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py @@ -176,7 +176,10 @@ def _find_mkl_libs(self, shared): libs.append("libmkl_core") if self.spec.satisfies("+cluster"): - if any(self.spec.satisfies(m) for m in ["^intel-oneapi-mpi", "^intel-mpi", "^mpich"]): + if any( + self.spec.satisfies(m) + for m in ["^intel-oneapi-mpi", "^intel-mpi", "^mpich", "^cray-mpich"] + ): libs.append(self._xlp64_lib("libmkl_blacs_intelmpi")) elif self.spec.satisfies("^openmpi"): libs.append(self._xlp64_lib("libmkl_blacs_openmpi"))