Compare commits

...

9 commits

2 changed files with 71 additions and 0 deletions

View file

@ -205,6 +205,10 @@ packages:
modules:
- rocm/6.1.1
prefix: /opt/rocm-6.1.1/llvm/
extra_attributes:
compilers:
c: /opt/rocm-6.1.1/llvm/bin/clang++
cxx: /opt/rocm-6.1.1/llvm/bin/clang++
buildable: false
rccl:
externals:
@ -266,6 +270,18 @@ packages:
modules:
- rocm/6.1.1
buildable: false
rocthrust:
externals:
- spec: rocthrust@6.1.1
modules:
- rocm/6.1.1
buildable: false
rocprim:
externals:
- spec: rocprim@6.1.1
modules:
- rocm/6.1.1
buildable: false
# Packages which have not been discovered by spack external find
# and packages which are not in the OS image but low-level.
# Declare libs as externals only if a -devel OS package is installed

View file

@ -0,0 +1,55 @@
# 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]
- rocm_variant: [+rocm amdgpu_target=gfx942]
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, mumps +parmetis]
- [$num_integer_types]
- [$num_lib_types]
- [$^mpis]
- [$%compilers]
# - matrix:
# - [kahip +metis]
# - [$%compilers]
- matrix:
- [parmgridgen]
- [$cflags_noerror_implicit]
- [$%compilers]
- matrix:
- [superlu-dist, sundials, hypre]
- [$rocm_variant]
- [$num_integer_types]
- [$num_lib_types]
- [$^mpis]
- [$%compilers]
# - matrix:
# - [trilinos]
# - [$rocm_variant]
# - [$num_lib_types]
# - [$^mpis]
# - [$%compilers]
view: false
concretizer:
unify: when_possible