Skip to content

Commit

Permalink
Limit number of concurrently running jobs to one per partition to avo…
Browse files Browse the repository at this point in the history
…id going over vCPU limits
  • Loading branch information
Caspar van Leeuwen committed Nov 5, 2024
1 parent 4680809 commit 3948340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/aws_mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
# All should _at least_ have this amount (30GB * 1E9 / (1024*1024) = 28610 MiB)
'mem_per_node': 28610
},
'max_jobs': 1,
}
for system in site_configuration['systems']:
for partition in system['partitions']:
Expand Down
1 change: 1 addition & 0 deletions config/azure_mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
'options': ['--mem={size}'],
}
],
'max_jobs': 1,
}
for system in site_configuration['systems']:
for partition in system['partitions']:
Expand Down

0 comments on commit 3948340

Please sign in to comment.