Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reframe-hpc/reframe
A powerful Python framework for writing and running portable regression tests and benchmarks for HPC systems.
https://github.com/reframe-hpc/reframe
benchmarking continuous-integration framework hpc performance-testing python3 regression-testing validation-testing
Last synced: 12 days ago
JSON representation
A powerful Python framework for writing and running portable regression tests and benchmarks for HPC systems.
- Host: GitHub
- URL: https://github.com/reframe-hpc/reframe
- Owner: reframe-hpc
- License: bsd-3-clause
- Created: 2017-04-25T16:43:23.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2024-04-13T22:08:10.000Z (7 months ago)
- Last Synced: 2024-04-14T08:02:43.320Z (7 months ago)
- Topics: benchmarking, continuous-integration, framework, hpc, performance-testing, python3, regression-testing, validation-testing
- Language: Python
- Homepage: https://reframe-hpc.readthedocs.org
- Size: 43.4 MB
- Stars: 206
- Watchers: 19
- Forks: 96
- Open Issues: 117
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://github.com/reframe-hpc/reframe/workflows/ReFrame%20CI/badge.svg)](https://github.com/reframe-hpc/reframe/actions?query=workflow%3A%22ReFrame+CI%22)
[![Documentation Status](https://readthedocs.org/projects/reframe-hpc/badge/?version=latest)](https://reframe-hpc.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/reframe-hpc/reframe/branch/master/graph/badge.svg)](https://codecov.io/gh/reframe-hpc/reframe)
![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/reframe-hpc/reframe?include_prereleases)
![GitHub commits since latest release](https://img.shields.io/github/commits-since/reframe-hpc/reframe/latest)
![GitHub contributors](https://img.shields.io/github/contributors-anon/reframe-hpc/reframe)
[![PyPI version](https://badge.fury.io/py/ReFrame-HPC.svg)](https://badge.fury.io/py/ReFrame-HPC)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/reframe-hpc)
[![Downloads](https://pepy.tech/badge/reframe-hpc)](https://pepy.tech/project/reframe-hpc)
[![Downloads](https://pepy.tech/badge/reframe-hpc/month)](https://pepy.tech/project/reframe-hpc)
[![Slack](https://badgen.net/badge/icon/slack?icon=slack&label)](https://join.slack.com/t/reframetalk/shared_invite/zt-1tar8s71w-At0tolJ~~zxT2oG_2Ly9sw)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![DOI](https://zenodo.org/badge/89384186.svg)](https://zenodo.org/badge/latestdoi/89384186)
[![Twitter Follow](https://img.shields.io/twitter/follow/ReFrameHPC?style=social)](https://twitter.com/ReFrameHPC)# ReFrame in a Nutshell
ReFrame is a powerful framework for writing system regression tests and benchmarks, specifically targeted to HPC systems.
The goal of the framework is to abstract away the complexity of the interactions with the system, separating the logic of a test from the low-level details, which pertain to the system configuration and setup.
This allows users to write portable tests in a declarative way that describes only the test's functionality.Tests in ReFrame are simple Python classes that specify the basic variables and parameters of the test.
ReFrame offers an intuitive and very powerful syntax that allows users to create test libraries, test factories, as well as complete test workflows using other tests as fixtures.
ReFrame will load the tests and send them down a well-defined pipeline that will execute them in parallel.
The stages of this pipeline take care of all the system interaction details, such as programming environment switching, compilation, job submission, job status query, sanity checking and performance assessment.Please visit the project's documentation [page](https://reframe-hpc.readthedocs.io/) for all the details!
## Installation
ReFrame is fairly easy to install.
All you need is Python 3.6 or above and to run its bootstrap script:```bash
git clone https://github.com/reframe-hpc/reframe.git
cd reframe
./bootstrap.sh
./bin/reframe -V
```If you want a specific release, please refer to the documentation [page](https://reframe-hpc.readthedocs.io/en/stable/started.html).
### Running the unit tests
You can optionally run the framework's unit tests with the following command:
```bash
./test_reframe.py -v
```NOTE: Unit tests require a POSIX-compliant C compiler (available through the `cc` command), as well as the `make` utility.
### Building the documentation locally
You may build the documentation of the master manually as follows:
```
./bootstrap.sh +docs
```For viewing it, you may do the following:
```
cd docs/html
python3 -m http.server
```The documentation is now up on [localhost:8000](http://localhost:8000), where you can navigate with your browser.
## Test library
The framework comes with an experimental library of tests that users can either run from the command line directly or extend and fine tune them for their systems. See [here](https://reframe-hpc.readthedocs.io/en/stable/hpctestlib.html) for more details.
## Public test repositories
The ReFrame HPC [community Github page](https://github.com/reframe-hpc) provides mirror forks of interesting ReFrame test repositories maintained by various sites or projects.
You can use those tests as an additional guidance to implement your own tests.If you maintain a public test repository and you would like it to be listed in the community page, feel free to open an issue or contact us through [Slack](#slack).
## Contact
You can get in contact with the ReFrame community in the following ways:
### Slack
Please join the community's [Slack channel](https://join.slack.com/t/reframetalk/shared_invite/zt-1tar8s71w-At0tolJ~~zxT2oG_2Ly9sw) for keeping up with the latest news about ReFrame, posting questions and, generally getting in touch with other users and the developers.
## Contributing back
ReFrame is an open-source project and we welcome and encourage contributions!
Check out our Contribution Guide [here](https://github.com/reframe-hpc/reframe/wiki/contributing-to-reframe).## Citing ReFrame
You can cite ReFrame in publications as follows:
> Vasileios Karakasis et al. "Enabling Continuous Testing of HPC Systems Using ReFrame". In: *Tools and Techniques for High Performance Computing. HUST - Annual Workshop on HPC User Support Tools* (Denver, Colorado, USA, Nov. 17–18, 2019). Ed. by Guido Juckeland and Sunita Chandrasekaran. Vol. 1190. Communications in Computer and Information Science. Cham, Switzerland: Springer International Publishing, Mar. 2020, pp. 49–68. isbn: 978-3-030-44728-1. doi: 10.1007/978-3-030-44728-1_3.
The corresponding BibTeX entry is the following:
```bibtex
@InProceedings{karakasis20a,
author = {Karakasis, Vasileios and Manitaras, Theofilos and Rusu, Victor Holanda and
Sarmiento-P{\'e}rez, Rafael and Bignamini, Christopher and Kraushaar, Matthias and
Jocksch, Andreas and Omlin, Samuel and Peretti-Pezzi, Guilherme and
Augusto, Jo{\~a}o P. S. C. and Friesen, Brian and He, Yun and Gerhardt, Lisa and
Cook, Brandon and You, Zhi-Qiang and Khuvis, Samuel and Tomko, Karen},
title = {Enabling Continuous Testing of {HPC} Systems Using {ReFrame}},
booktitle = {Tools and Techniques for High Performance Computing},
editor = {Juckeland, Guido and Chandrasekaran, Sunita},
year = {2020},
month = mar,
series = {Communications in Computer and Information Science},
volume = {1190},
pages = {49--68},
address = {Cham, Switzerland},
publisher = {Springer International Publishing},
doi = {10.1007/978-3-030-44728-1_3},
venue = {Denver, Colorado, USA},
eventdate = {2019-11-17/2019-11-18},
eventtitle = {{HUST} - Annual Workshop on {HPC} User Support Tools},
isbn = {978-3-030-44728-1},
issn = {1865-0937},
}
```