From 0fd085be8e7f03aa133f26b0247d18b6b35bee46 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Karnad <46030335+iamashwin99@users.noreply.github.com> Date: Mon, 28 Aug 2023 18:57:24 +0200 Subject: [PATCH] octopus: specify the scalapack library not the directory (#39109) * octopus: specify the scalapack library not the directory * octopus: use spec.scalapack.libs.ld_flags --- var/spack/repos/builtin/packages/octopus/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/octopus/package.py b/var/spack/repos/builtin/packages/octopus/package.py index 4a6bb6501f..5ce974edfa 100644 --- a/var/spack/repos/builtin/packages/octopus/package.py +++ b/var/spack/repos/builtin/packages/octopus/package.py @@ -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}", ] )