Skip to main content

ReFrame is a framework for writing regression tests for HPC systems

Project description

ReFrame in a Nutshell

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

ReFrame is almost ready to run just after you clone it from Github. All you need is Python 3.6 or above and to run its bootstrap script:

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

Other installation ways

You can also install ReFrame through the following channels:

  • Through PyPI:

    pip install reframe-hpc
    
  • Through Spack:

    spack install reframe
    
  • Through EasyBuild:

    eb easybuild/easyconfigs/r/ReFrame/ReFrame-VERSION.eb -r
    

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 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, 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.

Contributing back

ReFrame is an open-source project and we welcome third-party contributions. Check out our Contribution Guide here.

Project details


Release history Release notifications | RSS feed

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-3.4.dev1.tar.gz (123.4 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-3.4.dev1-py3-none-any.whl (153.7 kB view details)

Uploaded Python 3

File details

Details for the file ReFrame-HPC-3.4.dev1.tar.gz.

File metadata

  • Download URL: ReFrame-HPC-3.4.dev1.tar.gz
  • Upload date:
  • Size: 123.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.7

File hashes

Hashes for ReFrame-HPC-3.4.dev1.tar.gz
Algorithm Hash digest
SHA256 a7903280086b02350663d8094097d9bc93f856d1b554bada47e65f7eaa93a6a7
MD5 4e6c94fbb1279448482284c2eaea7206
BLAKE2b-256 c92a60934a17c9dd2ea4484a2294a9f0c0a3b3e122a19d53eca1382c512ca3cf

See more details on using hashes here.

File details

Details for the file ReFrame_HPC-3.4.dev1-py3-none-any.whl.

File metadata

  • Download URL: ReFrame_HPC-3.4.dev1-py3-none-any.whl
  • Upload date:
  • Size: 153.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.7

File hashes

Hashes for ReFrame_HPC-3.4.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 d89bc17d07016bf951b0d563a8c6594e45722e34abc6c54b288eb50293ff41b2
MD5 947d00cc4f233c9640620d70f4e494f7
BLAKE2b-256 7674c4da2df1341aa2f91f826533497ab55a3882190be472d4cccc4b2abe8f98

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