summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTiziano Müller <tiziano.mueller@hpe.com>2022-01-03 06:56:03 +0100
committerGitHub <noreply@github.com>2022-01-02 22:56:03 -0700
commitc220abb0116393faaa218d04dddf5ef9d04599d2 (patch)
treefdc70b28fa4afb04297da6231ad110b0f8dc5fe8 /var
parent71cb9fd9fde52b9afe084dae8cdfd34be653011a (diff)
downloadspack-c220abb0116393faaa218d04dddf5ef9d04599d2.tar.gz
spack-c220abb0116393faaa218d04dddf5ef9d04599d2.tar.bz2
spack-c220abb0116393faaa218d04dddf5ef9d04599d2.tar.xz
spack-c220abb0116393faaa218d04dddf5ef9d04599d2.zip
elpa: add version 2021.11.001, add +autotune variant (#28134)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/elpa/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/elpa/package.py b/var/spack/repos/builtin/packages/elpa/package.py
index 70aa378f86..55a4d6e02c 100644
--- a/var/spack/repos/builtin/packages/elpa/package.py
+++ b/var/spack/repos/builtin/packages/elpa/package.py
@@ -14,6 +14,7 @@ class Elpa(AutotoolsPackage, CudaPackage, ROCmPackage):
homepage = 'https://elpa.mpcdf.mpg.de/'
url = 'https://elpa.mpcdf.mpg.de/software/tarball-archive/Releases/2015.11.001/elpa-2015.11.001.tar.gz'
+ version('2021.11.001', sha256='fb361da6c59946661b73e51538d419028f763d7cb9dacf9d8cd5c9cd3fb7802f')
version('2021.05.002_bugfix', sha256='deabc48de5b9e4b2f073d749d335c8f354a7ce4245b643a23b7951cd6c90224b')
version('2021.05.001', sha256='a4f1a4e3964f2473a5f8177f2091a9da5c6b5ef9280b8272dfefcbc3aad44d41')
version('2020.05.001', sha256='66ff1cf332ce1c82075dc7b5587ae72511d2bcb3a45322c94af6b01996439ce5')
@@ -42,6 +43,11 @@ class Elpa(AutotoolsPackage, CudaPackage, ROCmPackage):
depends_on('python@:2', type='build', when='@:2020.05.001')
depends_on('python@3:', type='build', when='@2020.11.001:')
+ with when('@2021.11.01:'):
+ variant('autotune', default=False,
+ description='Enables autotuning for matrix restribution')
+ depends_on('scalapack', when='+autotune')
+
patch('python_shebang.patch', when='@:2020.05.001')
# fails to build due to broken type-bound procedures in OMP parallel regions
@@ -167,6 +173,9 @@ class Elpa(AutotoolsPackage, CudaPackage, ROCmPackage):
'SCALAPACK_LDFLAGS={0}'.format(spec['scalapack'].libs.joined())
]
+ if '+autotune' in self.spec:
+ options.append('--enable-autotune-redistribute-matrix')
+
options.append('--disable-silent-rules')
return options