diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py index 7be45eb37c..9af8cb79ac 100644 --- a/var/spack/repos/builtin/packages/warpx/package.py +++ b/var/spack/repos/builtin/packages/warpx/package.py @@ -20,7 +20,7 @@ class Warpx(MakefilePackage): version('master', git='https://github.com/ECP-WarpX/WarpX.git', tag='master') version('dev', git='https://github.com/ECP-WarpX/WarpX.git', tag='dev') - depends_on('mpi', when='+mpi') + depends_on('mpi') variant('dims', default='3',