summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2021-01-19 13:52:50 +0900
committerGitHub <noreply@github.com>2021-01-18 22:52:50 -0600
commit3143222d87300e4d848637b81c1cb09c86708068 (patch)
treef590882c9c4681c51f6a3b5498b605de521922d4
parentd1174bd40fe1c9001b899529c0c16785524b07d1 (diff)
downloadspack-3143222d87300e4d848637b81c1cb09c86708068.tar.gz
spack-3143222d87300e4d848637b81c1cb09c86708068.tar.bz2
spack-3143222d87300e4d848637b81c1cb09c86708068.tar.xz
spack-3143222d87300e4d848637b81c1cb09c86708068.zip
salmon-tddft: add eigenexa variant (#21140)
-rwxr-xr-xvar/spack/repos/builtin/packages/salmon-tddft/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/salmon-tddft/package.py b/var/spack/repos/builtin/packages/salmon-tddft/package.py
index 1cd440bdb3..f926c4bbae 100755
--- a/var/spack/repos/builtin/packages/salmon-tddft/package.py
+++ b/var/spack/repos/builtin/packages/salmon-tddft/package.py
@@ -24,6 +24,7 @@ class SalmonTddft(CMakePackage):
variant('mpi', default=False, description='Enable MPI')
variant('libxc', default=False, description='Enable libxc')
variant('scalapack', default=False, description='Enable scalapack')
+ variant('eigenexa', default=False, description='Enable eigenexa')
variant(
'manycore', default=False,
description='Enable optimization of reduction for many-core processor'
@@ -36,11 +37,14 @@ class SalmonTddft(CMakePackage):
depends_on('cmake@3.14:', type='build')
depends_on('mpi', type='link', when='+mpi')
depends_on('scalapack', type='link', when='+scalapack')
+ depends_on('eigenexa', type='link', when='+eigenexa')
depends_on('lapack', type='link')
depends_on('libxc', type='link', when='+libxc')
depends_on('libxc@:4.9', type='link', when='@:1.9.9 +libxc')
conflicts('+scalapack', when='~mpi')
+ conflicts('+eigenexa', when='@:1.9.9')
+ conflicts('+eigenexa', when='~scalapack')
conflicts('+manycore', when='@2.0.0:')
conflicts('+current_processing', when='@2.0.0:')
@@ -54,6 +58,7 @@ class SalmonTddft(CMakePackage):
define = self.define
args = [
define_from_variant('USE_SCALAPACK', 'scalapack'),
+ define_from_variant('USE_EIGENEXA', 'eigenexa'),
define_from_variant('USE_MPI', 'mpi'),
define_from_variant('USE_LIBXC', 'libxc'),
define_from_variant('REDUCE_FOR_MANYCORE', 'manycore'),