update hypre version and add new memalign for petsc (#47831)

This commit is contained in:
Thomas-Ulrich 2025-01-28 16:42:42 +01:00 committed by GitHub
parent bb25c04845
commit c86112b0e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -240,9 +240,24 @@ class Petsc(Package, CudaPackage, ROCmPackage):
"memalign",
default="none",
description="Specify alignment of allocated arrays",
values=("4", "8", "16", "32", "64", "none"),
values=(
"4",
"8",
"16",
"32",
"64",
"128",
"256",
"512",
"1024",
"2048",
"4096",
"8192",
"none",
),
multi=False,
)
variant("p4est", default=False, description="Activates support for P4Est (only parallel)")
variant("saws", default=False, description="Activates support for Saws")
variant("libyaml", default=False, description="Activates support for YAML")
@ -399,6 +414,7 @@ def check_fortran_compiler(self):
depends_on("hypre@2.14:2.22.0", when="@3.14:3.15+hypre")
depends_on("hypre@2.14:2.28.0", when="@3.16:3.19+hypre")
depends_on("hypre@2.14:", when="@3.20+hypre")
depends_on("hypre@2.32:", when="@3.22:+hypre")
depends_on("hypre@develop", when="@main+hypre")
depends_on("superlu-dist@:4.3~int64", when="@3.4.4:3.6.4+superlu-dist+mpi~int64")