Skip to content

common_config

common_eessi_init(eessi_version=None)

Returns the full path that should be sourced to initialize the EESSI environment for a given version of EESSI. If no eessi_version is passed, the EESSI_VERSION environment variable is read. If that is also not defined, default behaviour is to use latest.

PARAMETER DESCRIPTION
eessi_version

version of EESSI that should be sourced (e.g. '2023.06' or 'latest') [optional]

DEFAULT: None

common_general_config(prefix=None)

return common configuration for the 'general' section of the ReFrame configuration file

PARAMETER DESCRIPTION
prefix

prefix for the report_file

DEFAULT: None

common_logging_config(prefix=None)

return default logging configuration as a list: stdout, file log, perflog

PARAMETER DESCRIPTION
prefix

file log prefix

DEFAULT: None

get_sbatch_account()

return SBATCH_ACCOUNT as a string