Skip to content

Commit

Permalink
Merge pull request #66 from casparvl/snellius_autodetect
Browse files Browse the repository at this point in the history
Enable autodetection of CPU topology for Snellius ReFrame config
  • Loading branch information
satishskamath authored Jul 26, 2023
2 parents ac6f81a + f0eb34d commit 1a15b7f
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions config/surf_snellius.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
'access': ['-p thin', '--export=None'],
'environs': ['default'],
'max_jobs': 120,
'processor': {
'num_cpus': 128,
'num_sockets': 2,
'num_cpus_per_socket': 64,
'arch': 'zen2',
},
'features': [
'cpu',
],
Expand All @@ -34,16 +28,10 @@
'name': 'gpu',
'scheduler': 'slurm',
'prepare_cmds': ['source /cvmfs/pilot.eessi-hpc.org/latest/init/bash'],
'launcher': 'srun',
'launcher': 'mpirun',
'access': ['-p gpu', '--export=None'],
'environs': ['default'],
'max_jobs': 60,
'processor': {
'num_cpus': 72,
'num_sockets': 2,
'num_cpus_per_socket': 36,
'arch': 'icelake',
},
'devices': [
{
'type': 'gpu',
Expand Down Expand Up @@ -109,4 +97,12 @@
]
}
],
'general': [
{
# For autodetect to work, temporarily change:
# 1. The launchers to srun
# 2. Add --exclusive to GPU 'access' field above (avoids submission error that no GPUs are requested)
'remote_detect': True,
}
],
}

0 comments on commit 1a15b7f

Please sign in to comment.