From b27f81ac006dd352c651d13b607df4f4a22cdd2a Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 18 Dec 2018 18:11:08 -0800 Subject: [PATCH] WarpX: Added dependency on fftw when +psatd (#10144) --- var/spack/repos/builtin/packages/warpx/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py index bfbcd7fa3a..cdac0f3e66 100644 --- a/var/spack/repos/builtin/packages/warpx/package.py +++ b/var/spack/repos/builtin/packages/warpx/package.py @@ -34,6 +34,8 @@ class Warpx(MakefilePackage): variant('tprof', default=False, description='Enable tiny profiling features') variant('openmp', default=True, description='Enable OpenMP features') + depends_on('fftw@3:', when='+psatd') + resource(name='amrex', git='https://github.com/AMReX-Codes/amrex.git', tag='development',