From 847e33afadd506c5a9aad2579683fa434397bb6e Mon Sep 17 00:00:00 2001 From: Simon Pintarelli Date: Tue, 11 Nov 2025 14:06:54 +0100 Subject: [PATCH 1/2] update config.yaml --- config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.yaml b/config.yaml index fd0561bbc..2aa4afdae 100644 --- a/config.yaml +++ b/config.yaml @@ -70,6 +70,16 @@ clusters: F7T_TOKEN_URL: "https://auth-tds.cscs.ch/auth/realms/firecrest-clients/protocol/openid-connect/token" SLURM_TIMELIMIT: '500' SLURM_CPUS_PER_TASK: '64' + - + uarch: 'mi300' + partition: 'mi300' + variables: + F7T_CLIENT_ID: $F7T_TDS_CLIENT_ID + F7T_CLIENT_SECRET: $F7T_TDS_CLIENT_SECRET + F7T_URL: "https://api.tds.cscs.ch/stp/firecrest/v2" + F7T_TOKEN_URL: "https://auth-tds.cscs.ch/auth/realms/firecrest-clients/protocol/openid-connect/token" + SLURM_TIMELIMIT: '500' + SLURM_CPUS_PER_TASK: '64' runner: f7t uenvs: climana: @@ -148,6 +158,7 @@ uenvs: recipes: gh200: 2025.1/gh200 zen2: 2025.1/mc + mi300: 2025.1/mi300 deploy: daint: [gh200] eiger: [zen2] From 419d20265cef4b80ca4ffae197bfcae73a9c7520 Mon Sep 17 00:00:00 2001 From: Simon Pintarelli Date: Tue, 11 Nov 2025 14:22:33 +0100 Subject: [PATCH 2/2] add files --- config.yaml | 6 ++- recipes/prgenv-gnu/25.4/amdgpu/compilers.yaml | 5 ++ recipes/prgenv-gnu/25.4/amdgpu/config.yaml | 9 ++++ .../prgenv-gnu/25.4/amdgpu/environments.yaml | 53 +++++++++++++++++++ .../prgenv-gnu/25.4/amdgpu/extra/reframe.yaml | 11 ++++ 5 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 recipes/prgenv-gnu/25.4/amdgpu/compilers.yaml create mode 100644 recipes/prgenv-gnu/25.4/amdgpu/config.yaml create mode 100644 recipes/prgenv-gnu/25.4/amdgpu/environments.yaml create mode 100644 recipes/prgenv-gnu/25.4/amdgpu/extra/reframe.yaml diff --git a/config.yaml b/config.yaml index 2aa4afdae..67be31f79 100644 --- a/config.yaml +++ b/config.yaml @@ -158,7 +158,6 @@ uenvs: recipes: gh200: 2025.1/gh200 zen2: 2025.1/mc - mi300: 2025.1/mi300 deploy: daint: [gh200] eiger: [zen2] @@ -338,6 +337,11 @@ uenvs: daint: [gh200] santis: [gh200] eiger: [zen2] + "25.4": + recipes: + mi200: 25.4/amdgpu + deploy: + beverin: [mi200] prgenv-nvfortran: "24.11": recipes: diff --git a/recipes/prgenv-gnu/25.4/amdgpu/compilers.yaml b/recipes/prgenv-gnu/25.4/amdgpu/compilers.yaml new file mode 100644 index 000000000..281fae8b9 --- /dev/null +++ b/recipes/prgenv-gnu/25.4/amdgpu/compilers.yaml @@ -0,0 +1,5 @@ +bootstrap: + spec: gcc@12.3 +gcc: + specs: + - gcc@13 diff --git a/recipes/prgenv-gnu/25.4/amdgpu/config.yaml b/recipes/prgenv-gnu/25.4/amdgpu/config.yaml new file mode 100644 index 000000000..3bcf34c0e --- /dev/null +++ b/recipes/prgenv-gnu/25.4/amdgpu/config.yaml @@ -0,0 +1,9 @@ +name: prgenv-gnu +spack: + #commit: releases/v0.23 + # 0.24.0.dev0 + # commit: 19734832eb4eeb6aa15f741846955c41fa82f045 + commit: releases/v0.23 + repo: https://github.com/spack/spack.git +store: /user-environment +description: GNU Compiler toolchain with cray-mpich, Python, CMake and other development tools for MI300A diff --git a/recipes/prgenv-gnu/25.4/amdgpu/environments.yaml b/recipes/prgenv-gnu/25.4/amdgpu/environments.yaml new file mode 100644 index 000000000..cac8dc05f --- /dev/null +++ b/recipes/prgenv-gnu/25.4/amdgpu/environments.yaml @@ -0,0 +1,53 @@ +gcc-env: + compiler: + - toolchain: gcc + spec: gcc + mpi: + spec: cray-mpich@8.1.32 + gpu: rocm + unify: true + specs: + - boost +chrono +filesystem +iostreams +mpi +python +regex +serialization +shared +system +timer + - cmake + - fftw + - fmt + - gsl + - hdf5+cxx+hl+fortran + - netlib-scalapack + - lua + - libtree + - lz4 + - meson + - ninja + - openblas threads=openmp + #- osu-micro-benchmarks@5.9 + - python@3 + - zlib-ng + # add GPU-specific packages here, for easier comparison with mc version + - hip ^mesa@23.3.6 ^llvm@18 + - hdf5+mpi + - hipcub + # rocm packages + - rocthrust + - rocprim + - rocblas + - rocfft + - rocsolver + - rocsparse + - rocrand + - rocm-core + - rocm-cmake + #- rccl + #- aw + variants: + - +mpi + - +rocm + - amdgpu_target=gfx942,gfx90a + - amdgpu_target_sram_ecc=gfx942,gfx90a + views: + default: + link: roots + uenv: + add_compilers: true + prefix_paths: + LD_LIBRARY_PATH: [lib, lib64] diff --git a/recipes/prgenv-gnu/25.4/amdgpu/extra/reframe.yaml b/recipes/prgenv-gnu/25.4/amdgpu/extra/reframe.yaml new file mode 100644 index 000000000..1c0e6611b --- /dev/null +++ b/recipes/prgenv-gnu/25.4/amdgpu/extra/reframe.yaml @@ -0,0 +1,11 @@ +default: + features: + - cuda + - mpi + - osu-micro-benchmarks + - openmp + - serial + cc: mpicc + cxx: mpic++ + ftn: mpifort + activation: uenv view develop