summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordownloadico <download@carc.unm.edu>2024-03-12 15:04:35 -0600
committerGitHub <noreply@github.com>2024-03-12 14:04:35 -0700
commit0f080b38f4c81221f030554d7e723d7f3c303f9b (patch)
tree534f2ea792c7a2323f05a3d55a864230acbd5e08
parentf1ec4859c8bfd47ff1565d1eb74bcaab22a7ea16 (diff)
downloadspack-0f080b38f4c81221f030554d7e723d7f3c303f9b.tar.gz
spack-0f080b38f4c81221f030554d7e723d7f3c303f9b.tar.bz2
spack-0f080b38f4c81221f030554d7e723d7f3c303f9b.tar.xz
spack-0f080b38f4c81221f030554d7e723d7f3c303f9b.zip
abinit: add version 9.10.5 (#43148)
set the FC variable to the MPI Fortran compiler and also set the F90 variable to the same compiler for versions 9.8 and up. FC needs to be set because the configure script still uses FC.
-rw-r--r--var/spack/repos/builtin/packages/abinit/package.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/abinit/package.py b/var/spack/repos/builtin/packages/abinit/package.py
index 37ff8afb9c..47c69fc402 100644
--- a/var/spack/repos/builtin/packages/abinit/package.py
+++ b/var/spack/repos/builtin/packages/abinit/package.py
@@ -26,10 +26,10 @@ class Abinit(AutotoolsPackage):
homepage = "https://www.abinit.org/"
url = "https://www.abinit.org/sites/default/files/packages/abinit-8.6.3.tar.gz"
-
license("Apache-2.0")
maintainers("downloadico")
+ version("9.10.5", sha256="a9e0f0e058baa6088ea93d26ada369ccf0fe52dc9d4a865b1c38c20620148cd5")
version("9.10.3", sha256="3f2a9aebbf1fee9855a09dd687f88d2317b8b8e04f97b2628ab96fb898dce49b")
version("9.8.4", sha256="a086d5045f0093b432e6a044d5f71f7edf5a41a62d67b3677cb0751d330c564a")
version("9.8.3", sha256="de823878aea2c20098f177524fbb4b60de9b1b5971b2e835ec244dfa3724589b")
@@ -181,10 +181,9 @@ class Abinit(AutotoolsPackage):
if "+mpi" in spec:
oapp(f"CC={spec['mpi'].mpicc}")
oapp(f"CXX={spec['mpi'].mpicxx}")
+ oapp(f"FC={spec['mpi'].mpifc}")
if spec.satisfies("@9.8:"):
oapp(f"F90={spec['mpi'].mpifc}")
- else:
- oapp(f"FC={spec['mpi'].mpifc}")
# MPI version:
# let the configure script auto-detect MPI support from mpi_prefix