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

Align settings_example.py with instructions from docs #85

Merged
merged 2 commits into from
Sep 20, 2023
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
38 changes: 22 additions & 16 deletions config/settings_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,40 @@
'partitions': [
{
'name': 'cpu_partition',
'descr': 'CPU partition'
'scheduler': 'slurm',
'launcher': 'mpirun',
'access': ['-p cpu'],
'access': ['-p cpu', '--export=None'],
'prepare_cmds': ['source /cvmfs/pilot.eessi-hpc.org/latest/init/bash'],
'environs': ['default'],
'max_jobs': 4,
'processor': {
'num_cpus': 128,
'num_sockets': 2,
'num_cpus_per_socket': 64,
'arch': 'zen2',
},
# We recommend to rely on ReFrame's CPU autodetection,
# and only define the 'processor' field if autodetection fails
# 'processor': {
# 'num_cpus': 128,
# 'num_sockets': 2,
# 'num_cpus_per_socket': 64,
# 'num_cpus_per_core': 1,
# },
'features': [FEATURES[CPU]],
'descr': 'CPU partition'
},
{
'name': 'gpu_partition',
'descr': 'GPU partition'
'scheduler': 'slurm',
'launcher': 'mpirun',
'access': ['-p gpu'],
'access': ['-p gpu', '--export=None'],
'prepare_cmds': ['source /cvmfs/pilot.eessi-hpc.org/latest/init/bash'],
'environs': ['default'],
'max_jobs': 4,
'processor': {
'num_cpus': 72,
'num_sockets': 2,
'num_cpus_per_socket': 36,
'arch': 'icelake',
},
# We recommend to rely on ReFrame's CPU autodetection,
# and only define the 'processor' field if autodetection fails
# 'processor': {
# 'num_cpus': 72,
# 'num_sockets': 2,
# 'num_cpus_per_socket': 36,
# 'num_cpus_per_core': 1,
# },
'resources': [
{
'name': '_rfm_gpu',
Expand All @@ -81,7 +88,6 @@
'extras': {
GPU_VENDOR: GPU_VENDORS[NVIDIA],
},
'descr': 'GPU partition'
},
]
},
Expand Down
Loading