From 1bc51ab8a28743f07cade34fda4c07e080e26ed8 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 6 Sep 2024 10:13:33 -0500 Subject: [PATCH] Add numerical library PETSc with ROCm support --- environments/numlibs/spack.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/environments/numlibs/spack.yaml b/environments/numlibs/spack.yaml index 9d79ada..deac671 100644 --- a/environments/numlibs/spack.yaml +++ b/environments/numlibs/spack.yaml @@ -12,7 +12,7 @@ spack: - $spack/../environments/hlrs packages: all: - prefer: ['%gcc@7.5'] + prefer: ['%gcc@13.2'] # , '+rocm amdgpu_target=gfx942'] # add package specs to the `specs` list specs: - matrix: @@ -50,6 +50,13 @@ spack: # - [$num_lib_types] # - [$^mpis] # - [$%compilers] + - matrix: + - [petsc] + - [$rocm_variant] + - [$num_integer_types] + - [$num_lib_types] + - [$^mpis] + - [$%compilers] view: false concretizer: unify: when_possible