Skip to main content

ReFrame is a framework for writing regression tests for HPC systems

Project description

ReFrame

ReFrame is a framework for writing regression tests for HPC systems. The goal of this framework is to abstract away the complexity of the interactions with the system, separating the logic of a regression test from the low-level details, which pertain to the system configuration and setup. This allows users to write easily portable regression tests, focusing only on the functionality.

Regression tests in ReFrame are simple Python classes that specify the basic parameters of the test. The framework will load the test and will send it down a well-defined pipeline that will take care of its execution. 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.

Writing system regression tests in a high-level modern programming language, like Python, poses a great advantage in organizing and maintaining the tests. Users can create their own test hierarchies, create test factories for generating multiple tests at the same time and also customize them in a simple and expressive way.

Getting ReFrame

You may install ReFrame directly from PyPI through pip:

pip install reframe-hpc

ReFrame will be available in your PATH:

reframe -V

Alternatively, and especially if you want to contribute back to the framework, you may clone this repository:

git clone https://github.com/eth-cscs/reframe.git
cd reframe
./bin/reframe -V

Finally, you may access all previous versions of ReFrame here.

Documentation

You may find the official documentation of the latest release and the current master in the following links:

Building the documentation locally

You may build the documentation of the master locally either with Python 2 or Python 3. Here is how to do it:

pip install -r docs/requirements.txt
make -C docs latest

For viewing it, you may do the following:

cd docs/html
python -m http.server # or python -m SimpleHTTPServer for Python 2

The documentation is now up on localhost:8000, where you can navigate with your browser.

Examples of Regression Tests

In the cscs-checks/ folder, you can find realistic regression tests used for the CSCS systems that you can reuse and adapt to your system. Notice that these tests are published as examples and may not run as-is in your system. However, they can serve as a very good starting point for implementing your system tests in ReFrame.

Contact

You can get in contact with the ReFrame community in the following ways:

Mailing list

For keeping up with the latest news about ReFrame, posting questions and, generally getting in touch with other users and the developers, you may follow the mailing list: reframe@sympa.cscs.ch.

Only subscribers may send messages to the list. To subscribe, please send an empty message to reframe-subscribe@sympa.cscs.ch.

For unsubscribing, you may send an empty message to reframe-unsubscribe@sympa.cscs.ch.

Slack

You may also reach the community through Slack here.

Project details


Release history Release notifications | RSS feed

This version

2.18

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ReFrame-HPC-2.18.tar.gz (84.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ReFrame_HPC-2.18-py3-none-any.whl (103.4 kB view details)

Uploaded Python 3

File details

Details for the file ReFrame-HPC-2.18.tar.gz.

File metadata

  • Download URL: ReFrame-HPC-2.18.tar.gz
  • Upload date:
  • Size: 84.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for ReFrame-HPC-2.18.tar.gz
Algorithm Hash digest
SHA256 ba6527f9036d7028d6af8d69e8e74603da239abd056e3b0cebac7ce8290a6e31
MD5 929e48e262b9d6ce2cce8d5ad7b7a589
BLAKE2b-256 dffbdb0a4d46979b2f322a702c9faddb41b94304ff2518d31677f992586cc5e9

See more details on using hashes here.

File details

Details for the file ReFrame_HPC-2.18-py3-none-any.whl.

File metadata

  • Download URL: ReFrame_HPC-2.18-py3-none-any.whl
  • Upload date:
  • Size: 103.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for ReFrame_HPC-2.18-py3-none-any.whl
Algorithm Hash digest
SHA256 29b506fba2becc7c38b12009263bb0c21c4855f08a5dbfd2bffa3b72ab1b6e61
MD5 b120ef313c97287cf4228797126dfac7
BLAKE2b-256 0aac242ce3da0561cca714babc6e0a62196c315fd6b5081654e938b3aa872cc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page