diff --git a/var/spack/repos/builtin/packages/ebms/package.py b/var/spack/repos/builtin/packages/ebms/package.py index 252be1bd3d..d9bce0a661 100644 --- a/var/spack/repos/builtin/packages/ebms/package.py +++ b/var/spack/repos/builtin/packages/ebms/package.py @@ -43,7 +43,7 @@ class Ebms(MakefilePackage): variant('mpi', default=True, description='Build with MPI support') - depends_on('mpi', when='+mpi') + depends_on('mpi@2:', when='+mpi') tags = ['proxy-app']