Coder Social home page Coder Social logo

jprichings / epcc-reframe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from epcced/epcc-reframe

0.0 0.0 0.0 48.63 MB

Repository for Reframe configuration and tests for EPCC systems

License: GNU General Public License v3.0

Shell 0.82% C++ 0.11% Python 52.95% C 41.01% Fortran 4.67% Makefile 0.45%

epcc-reframe's Introduction

EPCC Reframe

Repository for Reframe configuration and tests for EPCC systems

Structure

  • configuration/: configuration files for different EPCC systems
  • tests/: test library. All tests should, wherever possible, be configured so that they can run on all systems

Modifications to reframe source

Archer2 test execition

Run all tests

To run the full suite of tests on Archer2 run the following commands:

module load reframe
module load epcc-reframe

epcc-reframe -r

The final command is jsut a wrapper around reframe to call all the tests and use the Archer2 config. The -r is the run flag in reframe.

Run specific tests

Alternatively you may only wish to run a subset of tests.

Again load the modules to enable reframe.

module load reframe
module load epcc-reframe

To run a specific test

reframe -C ${EPCC_REFRAME_CONFIG} -c *path-to-a-test* -r

To run all tests in a directory:

reframe -C ${EPCC_REFRAME_CONFIG} -c *path-to-a-test-directory* -R -r

Where EPCC_REFRAME_CONFIG is set by the epcc-reframe module and is the path for the Archer2 configuration.

Cirrus support

The following launchers should be added to the reframe/core/launchers/mpi.py to define launchers for Intel MPI and HPE MPT. Added after the definition for the mpiexec launcher.

@register_launcher('impi')
class MpiexecLauncher(JobLauncher):
    def command(self, job):
        return ['mpirun', '-ppn', str(job.num_tasks_per_node), '-n', str(job.num_tasks)]

@register_launcher('hpempt')
class MpiexecLauncher(JobLauncher):
    def command(self, job):
        return ['mpiexec_mpt', '-ppn', str(job.num_tasks_per_node), '-n', str(job.num_tasks)]
# HPE MPT mpiexec_mpt has to be used within a job (will not work with 'local' scheduler)

epcc-reframe's People

Contributors

aturner-epcc avatar holly-t avatar kevinstratford avatar jprichings avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.