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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 3 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
41 changes: 19 additions & 22 deletions config/vsc_hortense.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
# 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 `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 -l nodes=1:ppn=all -l walltime=00:30:00
laraPPr marked this conversation as resolved.
Show resolved Hide resolved
#
# 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"
#
# reframe --detect-host-topology \
laraPPr marked this conversation as resolved.
Show resolved Hide resolved
# /dodrio/scratch/users/vsc46128/.reframe/topology/hortense-{partition_name}/processor.json
laraPPr marked this conversation as resolved.
Show resolved Hide resolved
# ```

from reframe.core.backends import register_launcher
from reframe.core.launchers import JobLauncher
Expand Down Expand Up @@ -39,13 +57,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 +82,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 +107,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 Down
Loading