diff --git a/var/spack/repos/builtin/packages/mapl/package.py b/var/spack/repos/builtin/packages/mapl/package.py index 6d24b71deda6eb..ca6e9a5d5d2f6d 100644 --- a/var/spack/repos/builtin/packages/mapl/package.py +++ b/var/spack/repos/builtin/packages/mapl/package.py @@ -352,6 +352,8 @@ def cmake_args(self): if self.spec.satisfies("^mpich"): args.append(self.define("MPI_STACK", "mpich")) + elif self.spec.satisfies("^mvapich2"): + args.append(self.define("MPI_STACK", "mvapich")) elif self.spec.satisfies("^openmpi"): args.append(self.define("MPI_STACK", "openmpi")) elif self.spec.satisfies("^intel-oneapi-mpi"):