Skip to content

Commit b275f76

Browse files
authored
Add prgenv reframe feature to prgenv-nvfortran (#243)
The `prgenv` feature is used in cscs-reframe-tests for "generic" tests that don't need to be run for application-specific uenvs, but should be run for the base "programming environment"-like uenvs. E.g. the CUDA samples test filters for the `prgenv` feature: https://github.com/eth-cscs/cscs-reframe-tests/blob/225f906d2bbab7273d29035a0b1d77c0bfd5d208/checks/prgenv/cuda/cuda_samples.py#L87. Additionally, cscs-reframe-tests automatically adds the `prgenv` feature for uenvs whose name start with `prgenv` (https://github.com/eth-cscs/cscs-reframe-tests/blob/225f906d2bbab7273d29035a0b1d77c0bfd5d208/config/utilities/uenv.py#L134-L135), but this detection only works when declaring uenvs to be tested by name (`UENV=prgenv-...`) instead of by path (`UENV=/path/to/squashfs`). The more reliable way of exposing the feature is to simply set it explicitly in reframe.yaml, as I've done here. I'm also adding the `prgenv` feature to prgenv-gnu/25.6 in #224.
1 parent 9d644ca commit b275f76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

recipes/prgenv-nvfortran/25.7/gh200/extra/reframe.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ default:
22
features:
33
- cuda
44
- mpi
5-
- osu-micro-benchmarks
5+
- nvhpc
66
- openmp
7+
- osu-micro-benchmarks
8+
- prgenv
79
- serial
8-
- nvhpc
910
cc: mpicc
1011
cxx: mpic++
1112
ftn: mpifort

0 commit comments

Comments
 (0)