Repository for ReFrame configuration and tests for EPCC systems.
configuration/
: configuration files for different EPCC systemstests/
: test library. All tests should, wherever possible, be configured so that they can run on all systems
To run the full suite of tests on ARCHER2, run the following commands:
module load reframe
module load epcc-reframe
epcc-reframe -r
The last command is just a wrapper around ReFrame to call all the tests and use the ARCHER2 configuration. The -r
is the run flag in ReFrame.
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.
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)