quantum-espresso: fix ldflags for scalapack (#21719)
This commit is contained in:
parent
1e16fcfd91
commit
9771903533
@ -377,7 +377,7 @@ def install(self, spec, prefix):
|
|||||||
scalapack_option = 'yes'
|
scalapack_option = 'yes'
|
||||||
options.append('--with-scalapack={0}'.format(scalapack_option))
|
options.append('--with-scalapack={0}'.format(scalapack_option))
|
||||||
scalapack_lib = spec['scalapack'].libs
|
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:
|
if '+elpa' in spec:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user