From c84c8bc2d3e05a0e610ffd3bbeade5993739152f Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Wed, 10 Jul 2024 06:14:27 -0600 Subject: [PATCH 1/2] Bug fix for mapl: configure mvapich2 --- var/spack/repos/builtin/packages/mapl/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/mapl/package.py b/var/spack/repos/builtin/packages/mapl/package.py index 497f7f73af397e..fa587377e30791 100644 --- a/var/spack/repos/builtin/packages/mapl/package.py +++ b/var/spack/repos/builtin/packages/mapl/package.py @@ -349,6 +349,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", "mpich")) elif self.spec.satisfies("^openmpi"): args.append(self.define("MPI_STACK", "openmpi")) elif self.spec.satisfies("^intel-oneapi-mpi"): From 50d44807e94c104574455a99284a098949361327 Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Wed, 10 Jul 2024 06:47:58 -0600 Subject: [PATCH 2/2] Update var/spack/repos/builtin/packages/mapl/package.py Co-authored-by: Matt Thompson --- var/spack/repos/builtin/packages/mapl/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/mapl/package.py b/var/spack/repos/builtin/packages/mapl/package.py index fa587377e30791..1c0cb9ff7b48ff 100644 --- a/var/spack/repos/builtin/packages/mapl/package.py +++ b/var/spack/repos/builtin/packages/mapl/package.py @@ -350,7 +350,7 @@ 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", "mpich")) + 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"):