From 3948340d74dc86aca53ab177375cf93175b38cac Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 5 Nov 2024 15:27:29 +0100 Subject: [PATCH] Limit number of concurrently running jobs to one per partition to avoid going over vCPU limits --- config/aws_mc.py | 1 + config/azure_mc.py | 1 + 2 files changed, 2 insertions(+) diff --git a/config/aws_mc.py b/config/aws_mc.py index 1ff95d94..073cd3f6 100644 --- a/config/aws_mc.py +++ b/config/aws_mc.py @@ -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']: diff --git a/config/azure_mc.py b/config/azure_mc.py index ae8a8c39..c9c9eea6 100644 --- a/config/azure_mc.py +++ b/config/azure_mc.py @@ -100,6 +100,7 @@ 'options': ['--mem={size}'], } ], + 'max_jobs': 1, } for system in site_configuration['systems']: for partition in system['partitions']: