summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm-shunji <76516098+m-shunji@users.noreply.github.com>2021-02-18 19:00:19 +0900
committerGitHub <noreply@github.com>2021-02-18 11:00:19 +0100
commit97719035338d75df191d2b10334fcaa641832d3e (patch)
tree92013e8ae18fc08d5832ca6fac31fc632b9b8ec9
parent1e16fcfd917937afaa1ce198d34ca9f2c6fc6ae6 (diff)
downloadspack-97719035338d75df191d2b10334fcaa641832d3e.tar.gz
spack-97719035338d75df191d2b10334fcaa641832d3e.tar.bz2
spack-97719035338d75df191d2b10334fcaa641832d3e.tar.xz
spack-97719035338d75df191d2b10334fcaa641832d3e.zip
quantum-espresso: fix ldflags for scalapack (#21719)
-rw-r--r--var/spack/repos/builtin/packages/quantum-espresso/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/package.py b/var/spack/repos/builtin/packages/quantum-espresso/package.py
index de522827b4..5188568b19 100644
--- a/var/spack/repos/builtin/packages/quantum-espresso/package.py
+++ b/var/spack/repos/builtin/packages/quantum-espresso/package.py
@@ -377,7 +377,7 @@ class QuantumEspresso(Package):
scalapack_option = 'yes'
options.append('--with-scalapack={0}'.format(scalapack_option))
scalapack_lib = spec['scalapack'].libs
- options.append('SCALAPACK_LIBS={0}'.format(scalapack_lib))
+ options.append('SCALAPACK_LIBS={0}'.format(scalapack_lib.ld_flags))
if '+elpa' in spec: