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

Adding mem to the resources part of all partitions. #96

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
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
90 changes: 90 additions & 0 deletions config/aws_citc.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,76 +33,166 @@
'name': 'x86_64-haswell-8c-15gb',
'access': ['--constraint=shape=c4.2xlarge', '--export=NONE'],
'descr': 'Haswell, 8 cores, 15 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-haswell-16c-30gb',
'access': ['--constraint=shape=c4.4xlarge', '--export=NONE'],
'descr': 'Haswell, 16 cores, 30 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-zen2-8c-16gb',
'access': ['--constraint=shape=c5a.2xlarge', '--export=NONE'],
'descr': 'Zen2, 8 cores, 16 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-zen2-16c-32gb',
'access': ['--constraint=shape=c5a.4xlarge', '--export=NONE'],
'descr': 'Zen2, 16 cores, 32 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-zen3-8c-16gb',
'access': ['--constraint=shape=c6a.2xlarge', '--export=NONE'],
'descr': 'Zen3, 8 cores, 16 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'X86_64-zen3-16c-32gb',
'access': ['--constraint=shape=c6a.4xlarge', '--export=NONE'],
'descr': 'Zen3, 16 cores, 32 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-skylake-cascadelake-8c-16gb',
'access': ['--constraint=shape=c5.2xlarge', '--export=NONE'],
'descr': 'Skylake/Cascade lake, 8 cores, 16 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-skylake-cascadelake-16c-32gb',
'access': ['--constraint=shape=c5.4xlarge', '--export=NONE'],
'descr': 'Skylake/Cascade lake, 16 cores, 32 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-skylake-cascadelake-8c-16gb-nvme',
'access': ['--constraint=shape=c5d.2xlarge', '--export=NONE'],
'descr': 'Skylake/Cascade lake, 8 cores, 16 GiB, 200GB NVMe',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'x86_64-icelake-8c-16gb',
'access': ['--constraint=shape=c6i.2xlarge', '--export=NONE'],
'descr': 'Icelake, 8 cores, 16 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'aarch64-graviton2-8c-16gb',
'access': ['--constraint=shape=c6g.2xlarge', '--export=NONE'],
'descr': 'Graviton2, 8 cores, 16 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'aarch64-graviton2-16c-32gb',
'access': ['--constraint=shape=c6g.4xlarge', '--export=NONE'],
'descr': 'Graviton2, 16 cores, 32 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'aarch64-graviton2-32c-64gb',
'access': ['--constraint=shape=c6g.8xlarge', '--export=NONE'],
'descr': 'Graviton2, 32 cores, 64 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'aarch64-graviton3-8c-16gb',
'access': ['--constraint=shape=c7g.2xlarge', '--export=NONE'],
'descr': 'Graviton3, 8 cores, 16 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
{
'name': 'aarch64-graviton3-16c-32gb',
'access': ['--constraint=shape=c7g.4xlarge', '--export=NONE'],
'descr': 'Graviton3, 16 cores, 32 GiB',
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
},
]
},
Expand Down
6 changes: 6 additions & 0 deletions config/github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
'environs': ['default'],
'features': [FEATURES[CPU]],
'processor': {'num_cpus': 2},
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'max_jobs': 1
}
]
Expand Down
10 changes: 10 additions & 0 deletions config/izum_vega.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
'access': ['-p cpu', '--export=None'],
'environs': ['default'],
'max_jobs': 120,
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
FEATURES[CPU],
],
Expand Down Expand Up @@ -83,6 +89,10 @@
{
'name': '_rfm_gpu',
'options': ['--gpus-per-node={num_gpus_per_node}'],
},
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
Expand Down
10 changes: 10 additions & 0 deletions config/settings_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
# 'num_cpus_per_socket': 64,
# 'num_cpus_per_core': 1,
# },
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [FEATURES[CPU]],
},
{
Expand All @@ -73,6 +79,10 @@
{
'name': '_rfm_gpu',
'options': ['--gpus-per-node={num_gpus_per_node}'],
},
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'devices': [
Expand Down
16 changes: 16 additions & 0 deletions config/surf_snellius.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
'access': ['-p rome', '--export=None'],
'environs': ['default'],
'max_jobs': 120,
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
FEATURES[CPU],
],
Expand All @@ -54,6 +60,12 @@
'access': ['-p genoa', '--export=None'],
'environs': ['default'],
'max_jobs': 120,
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
FEATURES[CPU],
],
Expand All @@ -78,6 +90,10 @@
{
'name': '_rfm_gpu',
'options': ['--gpus-per-node={num_gpus_per_node}'],
},
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
Expand Down
26 changes: 26 additions & 0 deletions config/vsc_hortense.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ def command(self, job):
'num_cpus_per_core': 1,
'arch': 'zen2',
},
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
FEATURES[CPU],
],
Expand All @@ -66,6 +72,12 @@ def command(self, job):
'num_cpus_per_core': 1,
'arch': 'zen2',
},
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
FEATURES[CPU],
],
Expand All @@ -87,6 +99,12 @@ def command(self, job):
'num_cpus_per_core': 1,
'arch': 'zen3',
},
'resources': [
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'features': [
FEATURES[CPU],
],
Expand Down Expand Up @@ -118,6 +136,10 @@ def command(self, job):
{
'name': '_rfm_gpu',
'options': ['--gpus-per-node={num_gpus_per_node}'],
},
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'devices': [
Expand Down Expand Up @@ -155,6 +177,10 @@ def command(self, job):
{
'name': '_rfm_gpu',
'options': ['--gpus-per-node={num_gpus_per_node}'],
},
{
'name': 'memory',
'options': ['--mem={size}'],
}
],
'devices': [
Expand Down
Loading