octopus: specify the scalapack library not the directory (#39109)

* octopus: specify the scalapack library not the directory
* octopus: use spec.scalapack.libs.ld_flags
This commit is contained in:
Ashwin Kumar Karnad 2023-08-28 18:57:24 +02:00 committed by GitHub
parent 74fba221f1
commit 0fd085be8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,8 +192,8 @@ def configure_args(self):
if "+scalapack" in spec:
args.extend(
[
"--with-blacs=%s" % spec["scalapack"].libs,
"--with-scalapack=%s" % spec["scalapack"].libs,
f"--with-blacs={spec['scalapack'].libs.ld_flags}",
f"--with-scalapack={spec['scalapack'].libs.ld_flags}",
]
)