Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ReFrame generated topology for hortense cpu partitions #195

Merged
merged 8 commits into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 \
laraPPr marked this conversation as resolved.
Show resolved Hide resolved
# ~/.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
Loading