diff options
author | downloadico <download@carc.unm.edu> | 2024-10-04 11:24:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 10:24:06 -0700 |
commit | 4caf7186262fdf38e173da75db1dd3a6ea5ff7f6 (patch) | |
tree | 8bbe7924568788d2585df5f599dcd7a9d20e6cf4 | |
parent | 5867d90ccf3ce6ec0938b444329dd0c958734a91 (diff) | |
download | spack-4caf7186262fdf38e173da75db1dd3a6ea5ff7f6.tar.gz spack-4caf7186262fdf38e173da75db1dd3a6ea5ff7f6.tar.bz2 spack-4caf7186262fdf38e173da75db1dd3a6ea5ff7f6.tar.xz spack-4caf7186262fdf38e173da75db1dd3a6ea5ff7f6.zip |
abinit: fixed "if" statement bug (#46785)
fixed "if" statement when selecting the linear algebra flavor.
-rw-r--r-- | var/spack/repos/builtin/packages/abinit/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/abinit/package.py b/var/spack/repos/builtin/packages/abinit/package.py index 4f8238ed1b..6b4e8dee25 100644 --- a/var/spack/repos/builtin/packages/abinit/package.py +++ b/var/spack/repos/builtin/packages/abinit/package.py @@ -213,9 +213,9 @@ class Abinit(AutotoolsPackage): is_using_intel_libraries = spec["lapack"].name in INTEL_MATH_LIBRARIES if is_using_intel_libraries: linalg_flavor = "mkl" - if spec.satisfies("@9:") and spec.satisfies("^openblas"): + elif spec.satisfies("@9:") and spec.satisfies("^openblas"): linalg_flavor = "openblas" - if spec.satisfies("@9:") and spec.satisfies("^fujitsu-ssl2"): + elif spec.satisfies("@9:") and spec.satisfies("^fujitsu-ssl2"): linalg_flavor = "openblas" else: linalg_flavor = "custom" |