Skip to content

Commit

Permalink
add ReFrame configuration file for BSC HCA cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Feb 13, 2025
1 parent f6c0540 commit 3bcae88
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions config/bsc_hca.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
from eessi.testsuite.common_config import common_logging_config
from eessi.testsuite.constants import * # noqa: F403


site_configuration = {
'systems': [
{
'name': 'BotBuildTests', # The system HAS to have this name, do NOT change it
'descr': 'Software-layer bot for RISC-V',
'hostnames': ['.*'],
'modules_system': 'lmod',
'partitions': [
{
'name': 'riscv64_generic',
'scheduler': 'local',
'launcher': 'mpirun',
'environs': ['default'],
'features': [
FEATURES[CPU] # We want this to run GPU-based tests from the EESSI test suite
] + list(SCALES.keys()),
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'extras': {
# Make sure to round down, otherwise a job might ask for more mem than is available
# per node
'mem_per_node': 15486, # in MiB (512 GB minus some reserved for the OS)
},
'max_jobs': 1
},
]
}
],
'environments': [
{
'name': 'default',
'cc': 'cc',
'cxx': '',
'ftn': ''
}
],
'general': [
{
'purge_environment': True,
'resolve_module_conflicts': False, # avoid loading the module before submitting the job
'remote_detect': True, # Make sure to automatically detect the CPU topology
}
],
'logging': common_logging_config(),
}

0 comments on commit 3bcae88

Please sign in to comment.