Skip to content

prgenv-gnu rocm #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ clusters:
variables:
F7T_URL: "https://api.cscs.ch/cw/firecrest/v2"
runner: f7t
beverin:
targets:
-
uarch: 'mi300'
partition: 'mi300'
variables:
F7T_CLIENT_ID: $F7T_TDS_CLIENT_ID
F7T_CLIENT_SECRET: $F7T_TDS_CLIENT_SECRET
F7T_URL: "https://api.cscs.ch/cw/firecrest/v2"
runner: f7t
uenvs:
climana:
"24.7":
Expand Down Expand Up @@ -297,6 +307,12 @@ uenvs:
eiger: [zen2]
bristen: [a100]
develop: True
"25.4":
recipes:
mi300: 25.4/mi300
deploy:
beverin: [mi300]
develop: True
prgenv-nvfortran:
"24.11":
recipes:
Expand Down
5 changes: 5 additions & 0 deletions recipes/prgenv-gnu/25.4/mi300/compilers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bootstrap:
spec: [email protected]
gcc:
specs:
- gcc@13
9 changes: 9 additions & 0 deletions recipes/prgenv-gnu/25.4/mi300/config.yaml
Original file line number Diff line number Diff line change
@@ -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
57 changes: 57 additions & 0 deletions recipes/prgenv-gnu/25.4/mi300/environments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
gcc-env:
compiler:
- toolchain: gcc
spec: gcc
mpi:
spec: [email protected]
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
#- [email protected]
- python@3
- zlib-ng
# add GPU-specific packages here, for easier comparison with mc version
- hip ^[email protected] ^llvm@18
- hdf5+mpi
- hipcub
# rocm packages
- rocblas
- rocfft
- rocm-cmake
- rocm-core
- rocminfo
- rocprim
- rocprofiler-dev
- rocprofiler-register
- rocrand
- rocsolver
- rocsparse
- rocthrust
- roctracer-dev-api
#- rccl
#- aw
variants:
- +mpi
- +rocm
- amdgpu_target=gfx942
- amdgpu_target_sram_ecc=gfx942
views:
default:
link: roots
uenv:
add_compilers: true
prefix_paths:
LD_LIBRARY_PATH: [lib, lib64]
11 changes: 11 additions & 0 deletions recipes/prgenv-gnu/25.4/mi300/extra/reframe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
default:
features:
- rocm
- mpi
- osu-micro-benchmarks
- openmp
- serial
cc: mpicc
cxx: mpic++
ftn: mpifort
activation: uenv view develop