You are welcome to contribute new application benchmarks and new systems part of the ExCALIBUR benchmarking effort.
We need the ReFrame configuration and a Spack environment for the system.
Add a new system to the ReFrame configuration in
reframe_config.py
. Read ReFrame documentation about
configuration for
more details, or see the examples of the existing systems. Note: you likely do
not need to customise the programming environment in ReFrame, as we will use
Spack as build system, which will deal with that.
When using Spack as build system, ReFrame needs a Spack
environment to run
its tests. We provide already configured Spack environments in the
spack-environments
directory, for each system in the
ReFrame configuration.
Here are the steps to create a Spack environment for a new system:
- create the environment:
where
spack env create -d spack-environments/SYSTEM-NAME
SYSTEM-NAME
is the same name as the ReFrame system name - activate it:
spack env activate -d spack-environments/SYSTEM-NAME
- set the
install_tree
:spack config add 'config:install_tree:root:opt/spack'
- make sure the compilers you want to add are in the
PATH
(e.g., load the relevant modules), then add them to the Spack environment with:spack compiler find
- add other packages (e.g., MPI): make sure the package you want to add are
"visible" (e.g., load the relevant modules) and add them to the environment
with
where
spack external find --not-buildable PACKAGE-NAME ...
PACKAGE-NAME ...
are the names of the corresponding Spack packages - manually tweak the environment as necessary. For example, if there is already a global Spack available in the system, you can include its configuration files, or add its install trees as upstreams.
TODO