diff --git a/environments/numlibs/spack.yaml b/environments/numlibs/spack.yaml new file mode 100644 index 0000000..7120b88 --- /dev/null +++ b/environments/numlibs/spack.yaml @@ -0,0 +1,34 @@ +# This is a Spack Environment file fot he main HLRS software stack +spack: + definitions: + - core_compiler: [gcc@7.5] + - compilers: [gcc@13.2, cce@18.0] + - mpis: [cray-mpich@8.1.30] + - cflags_noerror_implicit: ['cflags="-Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -Wno-error=incompatible-pointer-types"'] + - num_integer_types: [~int64] + - num_lib_types: [+shared] + include_concrete: + - $spack/../environments/hlrs + packages: + all: + prefer: ['%gcc@7.5'] + # add package specs to the `specs` list + specs: + - matrix: + - [gsl +external-cblas] + - [$num_lib_types] + - [$%compilers] + - matrix: + - [metis] + - [$num_integer_types] + - [$num_lib_types] + - [$%compilers] + - matrix: + - [parmetis] + - [$num_integer_types] + - [$num_lib_types] + - [$^mpis] + - [$%compilers] + view: false + concretizer: + unify: when_possible