Skip to content

Commit 4f56161

Browse files
authored
add nvfortran env with [email protected], and update reframe tests (#241)
A basic update from [email protected] to [email protected]. The other big difference is that this is a v2 recipe, for spack 1.0 Docs update eth-cscs/cscs-docs#248
1 parent 4214edc commit 4f56161

File tree

14 files changed

+624
-3
lines changed

14 files changed

+624
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
log*
21
stackinator
32
recipes/*/*core/mirrors.yaml
43
cache.yaml

ci/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pipeline-configure:
77
tags: [languard-k8s-lightweight]
88
image: docker.io/python:latest
99
script:
10-
- git clone https://github.com/eth-cscs/uenv-pipeline.git
10+
- git clone --branch=retain-logs https://github.com/eth-cscs/uenv-pipeline.git
1111
- ./uenv-pipeline/configure-pipeline -c./config.yaml -r./recipes -s$system -u$uenv -a$uarch -o./pipeline.yml
1212
artifacts:
1313
paths:

config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ uenvs:
103103
gh200: "25.3"
104104
deploy:
105105
eiger: [zen2]
106-
todi: [gh200]
107106
mount: "/user-tools"
108107
gromacs:
109108
"2023":
@@ -332,6 +331,12 @@ uenvs:
332331
deploy:
333332
daint: [gh200]
334333
santis: [gh200]
334+
"25.7":
335+
recipes:
336+
gh200: 25.7/gh200
337+
deploy:
338+
daint: [gh200]
339+
santis: [gh200]
335340
pytorch:
336341
"v2.6.0":
337342
recipes:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
gcc:
2+
version: "13"
3+
nvhpc:
4+
version: "25.7"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: prgenv-nvfortran
2+
spack:
3+
repo: https://github.com/spack/spack.git
4+
commit: releases/v1.0
5+
packages:
6+
repo: https://github.com/spack/spack-packages.git
7+
commit: releases/v2025.07
8+
store: /user-environment
9+
description: NVIDIA compiler toolchain (nvhpc) with cray-mpich, Python, CMake and other development tools.
10+
version: 2
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
nvfortran:
2+
compiler: [gcc, nvhpc]
3+
network:
4+
5+
unify: true
6+
specs:
7+
- aws-ofi-nccl
8+
- cmake
9+
10+
- fftw +openmp
11+
- fmt
12+
- hdf5 +fortran+threadsafe+hl
13+
- libtree
14+
- lua
15+
- libtree
16+
- lz4
17+
- meson
18+
- nccl
19+
- nccl-tests
20+
- ninja
21+
- nvpl-blas threads=openmp
22+
- nvpl-lapack threads=openmp
23+
- osu-micro-benchmarks
24+
25+
- zlib-ng
26+
- netcdf-c
27+
- netcdf-fortran %fortran=nvhpc
28+
variants:
29+
- +mpi
30+
- +cuda
31+
- cuda_arch=90
32+
views:
33+
nvfort:
34+
link: roots
35+
uenv:
36+
prefix_paths:
37+
LD_LIBRARY_PATH: [lib, lib64]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
default:
2+
features:
3+
- cuda
4+
- mpi
5+
- osu-micro-benchmarks
6+
- openmp
7+
- serial
8+
- nvhpc
9+
cc: mpicc
10+
cxx: mpic++
11+
ftn: mpifort
12+
views:
13+
- nvfort
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
modules:
2+
# Paths to check when creating modules for all module sets
3+
prefix_inspections:
4+
bin:
5+
- PATH
6+
lib:
7+
- LD_LIBRARY_PATH
8+
lib64:
9+
- LD_LIBRARY_PATH
10+
11+
default:
12+
arch_folder: false
13+
# Where to install modules
14+
roots:
15+
tcl: /user-environment/modules
16+
tcl:
17+
all:
18+
autoload: run
19+
hash_length: 0
20+
exclude_implicits: true
21+
hide_implicits: true
22+
exclude: ['%[email protected]', 'gcc %[email protected]']
23+
projections:
24+
all: '{name}/{version}'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The `netcdf_fortran` package was added to repo to fix compilation when using a mixed compiler toolchain.
2+
3+
The problem (`when %gcc` instead of `when %fortran=nvhpc`) has been fixed in spack-packages, and will be available in release 25.08.

0 commit comments

Comments
 (0)