Skip to content

Commit

Permalink
Merge pull request #195 from laraPPr/fix_hortense_config
Browse files Browse the repository at this point in the history
Use ReFrame generated topology for hortense cpu partitions
  • Loading branch information
smoors authored Nov 28, 2024
2 parents eaa1d68 + 57bf55c commit 66b678d
Showing 1 changed file with 20 additions and 36 deletions.
56 changes: 20 additions & 36 deletions config/vsc_hortense.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
# ReFrame configuration file for VSC Tier-1 Hortense
# https://docs.vscentrum.be/en/latest/gent/tier1_hortense.html
#
# authors: Samuel Moors (VUB-HPC), Kenneth Hoste (HPC-UGent)
# authors: Samuel Moors (VUB-HPC), Kenneth Hoste (HPC-UGent), Lara Peeters (HPC-UGent)

# Use generated topology file by ReFrame for CPU partitions
# Cannot use autodetection untill new functionality of `sched_options` is part of
# the ReFrame release https://github.com/reframe-hpc/reframe/issues/2970

# Instructions on generating topology file
# ```
# module swap cluster/{partition}
# qsub -I -l nodes=1:ppn=all -l walltime=00:30:00
#
# python3 -m venv "$TMPDIR"/reframe_venv
# source "$TMPDIR"/reframe_venv/bin/activate
# python3 -m pip install --upgrade pip
# python3 -m pip install reframe-hpc=="4.6.2"
#
# mkdir -p ~/.reframe/topology/hortense-{partition_name}
# reframe --detect-host-topology \
# ~/.reframe/topology/hortense-{partition_name}/processor.json
# ```

from reframe.core.backends import register_launcher
from reframe.core.launchers import JobLauncher
Expand Down Expand Up @@ -39,13 +58,6 @@ def command(self, job):
'max_jobs': 20,
'launcher': 'mympirun',
'modules': ['vsc-mympirun'],
'processor': {
'num_cpus': 128,
'num_sockets': 2,
'num_cpus_per_socket': 64,
'num_cpus_per_core': 1,
'arch': 'zen2',
},
'resources': [
{
'name': 'memory',
Expand All @@ -71,13 +83,6 @@ def command(self, job):
'max_jobs': 20,
'launcher': 'mympirun',
'modules': ['vsc-mympirun'],
'processor': {
'num_cpus': 128,
'num_sockets': 2,
'num_cpus_per_socket': 64,
'num_cpus_per_core': 1,
'arch': 'zen2',
},
'resources': [
{
'name': 'memory',
Expand All @@ -103,13 +108,6 @@ def command(self, job):
'max_jobs': 20,
'launcher': 'mympirun',
'modules': ['vsc-mympirun'],
'processor': {
'num_cpus': 128,
'num_sockets': 2,
'num_cpus_per_socket': 64,
'num_cpus_per_core': 1,
'arch': 'zen3',
},
'resources': [
{
'name': 'memory',
Expand All @@ -135,13 +133,6 @@ def command(self, job):
'max_jobs': 20,
'launcher': 'mympirun',
'modules': ['vsc-mympirun'],
'processor': {
'num_cpus': 48,
'num_sockets': 2,
'num_cpus_per_socket': 24,
'num_cpus_per_core': 1,
'arch': 'zen2',
},
'features': [
FEATURES[GPU],
] + list(SCALES.keys()),
Expand Down Expand Up @@ -179,13 +170,6 @@ def command(self, job):
'max_jobs': 20,
'launcher': 'mympirun',
'modules': ['vsc-mympirun'],
'processor': {
'num_cpus': 48,
'num_sockets': 2,
'num_cpus_per_socket': 24,
'num_cpus_per_core': 1,
'arch': 'zen2',
},
'features': [
FEATURES[GPU],
] + list(SCALES.keys()),
Expand Down

0 comments on commit 66b678d

Please sign in to comment.