Skip to content

Commit

Permalink
Merge pull request #85 from casparvl/allign_example_with_docs
Browse files Browse the repository at this point in the history
Allign settings_example.py with instructions from docs
  • Loading branch information
boegel authored Sep 20, 2023
2 parents 4f65113 + 33199dd commit ac08336
Showing 1 changed file with 22 additions and 16 deletions.
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

0 comments on commit ac08336

Please sign in to comment.