octopus: add etsf-io variant (#36490)

This commit is contained in:
Ashwin Kumar Karnad 2023-03-30 18:15:04 +02:00 committed by GitHub
parent e356390575
commit 709c5c4844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,7 @@ class Octopus(AutotoolsPackage, CudaPackage):
variant("libvdwxc", default=False, description="Compile with libvdwxc")
variant("libyaml", default=False, description="Compile with libyaml")
variant("elpa", default=False, description="Compile with ELPA")
variant("etsf-io", default=False, description="Compile with etsf-io")
variant("nlopt", default=False, description="Compile with nlopt")
variant(
"pnfft",
@ -100,6 +101,7 @@ class Octopus(AutotoolsPackage, CudaPackage):
depends_on("elpa~mpi", when="+elpa")
depends_on("netcdf-fortran ^netcdf-c~~mpi", when="+netcdf")
depends_on("etsf-io", when="+etsf-io")
depends_on("py-numpy", when="+python")
depends_on("py-mpi4py", when="+python")
depends_on("metis@5:+int64", when="+metis")
@ -225,6 +227,8 @@ def configure_args(self):
args.append("--enable-python")
# --with-etsf-io-prefix=
if "+etsf-io" in spec:
args.append("--with-etsf-io-prefix=%s" % spec["etsf-io"].prefix)
# --with-sparskit=${prefix}/lib/libskit.a
# --with-pfft-prefix=${prefix} --with-mpifftw-prefix=${prefix}
# --with-berkeleygw-prefix=${prefix}