Skip to content

Commit

Permalink
Alter all config files to allow all scales by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Feb 2, 2024
1 parent 9f9b380 commit b52fd19
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions config/aws_mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os

from eessi.testsuite.common_config import common_logging_config, common_eessi_init
from eessi.testsuite.constants import FEATURES
from eessi.testsuite.constants import FEATURES, SCALES

# This config will write all staging, output and logging to subdirs under this prefix
# Override with RFM_PREFIX environment variable
Expand Down Expand Up @@ -97,7 +97,7 @@
'environs': ['default'],
'features': [
FEATURES['CPU']
],
] + list(SCALES.keys()),
'prepare_cmds': [
'source %s' % common_eessi_init(),
# Required when using srun as launcher with --export=NONE in partition access, in order to ensure job
Expand Down
2 changes: 1 addition & 1 deletion config/github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'scheduler': 'local',
'launcher': 'local',
'environs': ['default'],
'features': [FEATURES[CPU]],
'features': [FEATURES[CPU]] + list(SCALES.keys()),
'processor': {'num_cpus': 2},
'resources': [
{
Expand Down
4 changes: 2 additions & 2 deletions config/it4i_karolina.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
'max_jobs': 120,
'features': [
FEATURES[CPU],
],
] + list(SCALES.keys()),
'descr': 'CPU Universal Compute Nodes, see https://docs.it4i.cz/karolina/hardware-overview/'
},
# We don't have GPU budget on Karolina at this time
Expand Down Expand Up @@ -88,7 +88,7 @@
# ],
# 'features': [
# FEATURES[GPU],
# ],
# ] + list(SCALES.keys()),
# 'descr': 'GPU partition with accelerated nodes, see https://docs.it4i.cz/karolina/hardware-overview/'
# },
]
Expand Down
4 changes: 2 additions & 2 deletions config/izum_vega.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
],
'features': [
FEATURES[CPU],
],
] + list(SCALES.keys()),
'descr': 'CPU partition Standard, see https://en-doc.vega.izum.si/architecture/'
},
{
Expand Down Expand Up @@ -97,7 +97,7 @@
],
'features': [
FEATURES[GPU],
],
] + list(SCALES.keys()),
'descr': 'GPU partition, see https://en-doc.vega.izum.si/architecture/'
},
]
Expand Down
6 changes: 4 additions & 2 deletions config/settings_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
'options': ['--mem={size}'],
}
],
'features': [FEATURES[CPU]],
# list(SCALES.keys()) adds all the scales from eessi.testsuite.constants as valid for thi partition
# Can be modified if not all scales can run on this partition, see e.g. the surf_snellius.py config
'features': [FEATURES[CPU]] + list(SCALES.keys()),
},
{
'name': 'gpu_partition',
Expand Down Expand Up @@ -94,7 +96,7 @@
'features': [
FEATURES[CPU],
FEATURES[GPU],
],
] + list(SCALES.keys()),
'extras': {
GPU_VENDOR: GPU_VENDORS[NVIDIA],
},
Expand Down
10 changes: 5 additions & 5 deletions config/vsc_hortense.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def command(self, job):
],
'features': [
FEATURES[CPU],
],
] + list(SCALES.keys()),
},
{
'name': 'cpu_rome_512gb',
Expand All @@ -80,7 +80,7 @@ def command(self, job):
],
'features': [
FEATURES[CPU],
],
] + list(SCALES.keys()),
},
{
'name': 'cpu_milan',
Expand All @@ -107,7 +107,7 @@ def command(self, job):
],
'features': [
FEATURES[CPU],
],
] + list(SCALES.keys()),
},
{
'name': 'gpu_rome_a100_40gb',
Expand All @@ -128,7 +128,7 @@ def command(self, job):
},
'features': [
FEATURES[GPU],
],
] + list(SCALES.keys()),
'extras': {
GPU_VENDOR: GPU_VENDORS[NVIDIA],
},
Expand Down Expand Up @@ -169,7 +169,7 @@ def command(self, job):
},
'features': [
FEATURES[GPU],
],
] + list(SCALES.keys()),
'extras': {
GPU_VENDOR: GPU_VENDORS[NVIDIA],
},
Expand Down

0 comments on commit b52fd19

Please sign in to comment.