diff options
-rw-r--r-- | var/spack/repos/builtin/packages/cp2k/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py index 11d6daad5e..d9bf35874d 100644 --- a/var/spack/repos/builtin/packages/cp2k/package.py +++ b/var/spack/repos/builtin/packages/cp2k/package.py @@ -116,6 +116,7 @@ class Cp2k(MakefilePackage, CudaPackage): depends_on("fftw+openmp", when="^fftw") depends_on("amdfftw+openmp", when="^amdfftw") depends_on("cray-fftw+openmp", when="^cray-fftw") + depends_on("armpl-gcc threads=openmp", when="^armpl-gcc") depends_on("openblas threads=openmp", when="^openblas") # The Cray compiler wrappers will automatically add libsci_mp with # -fopenmp. Since CP2K unconditionally links blas/lapack/scalapack @@ -276,6 +277,9 @@ class Cp2k(MakefilePackage, CudaPackage): elif "^amdfftw" in spec: fftw = spec["amdfftw:openmp" if "+openmp" in spec else "amdfftw"] fftw_header_dir = fftw.headers.directories[0] + elif "^armpl-gcc" in spec: + fftw = spec["armpl-gcc:openmp" if "+openmp" in spec else "armpl-gcc"] + fftw_header_dir = fftw.headers.directories[0] elif "^intel-mkl" in spec: fftw = spec["intel-mkl"] fftw_header_dir = fftw.headers.directories[0] + "/fftw" |