diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/hydrogen/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/hydrogen/package.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/hydrogen/package.py b/var/spack/repos/builtin/packages/hydrogen/package.py index de067129b6..94379001e1 100644 --- a/var/spack/repos/builtin/packages/hydrogen/package.py +++ b/var/spack/repos/builtin/packages/hydrogen/package.py @@ -73,14 +73,12 @@ class Hydrogen(CMakePackage): depends_on('netlib-lapack +external-blas', when='blas=essl') depends_on('aluminum@master', when='+al ~cuda') - depends_on('aluminum@master +gpu +mpi-cuda', when='+al +cuda ~nccl') - depends_on('aluminum@master +gpu +nccl +mpi_cuda', when='+al +cuda +nccl') + depends_on('aluminum@master +gpu +mpi_cuda', when='+al +cuda') # Note that this forces us to use OpenBLAS until #1712 is fixed depends_on('lapack', when='blas=openblas ~openmp_blas') - depends_on('mpi', when='~cuda') - depends_on('mpi +cuda', when='+cuda') + depends_on('mpi') depends_on('scalapack', when='+scalapack') depends_on('gmp', when='+mpfr') @@ -154,7 +152,7 @@ class Hydrogen(CMakePackage): if '+al' in spec: args.extend([ '-DHydrogen_ENABLE_ALUMINUM:BOOL=%s' % ('+al' in spec), - '-DHYDROGEN_Aluminum_DIR={0}'.format( + '-DALUMINUM_DIR={0}'.format( spec['aluminum'].prefix)]) return args |