-
Notifications
You must be signed in to change notification settings - Fork 1
Defining Clusters
Viet Anh Khoa Tran edited this page Jun 9, 2022
·
2 revisions
Clusters are defined in the clusters.yaml file, located in the definitions directory (--def-dir).
A cluster is defined as follows
cluster_name:
key1: val1where cluster_name is later referenced to in the RunDef.
Keys in boldface are required.
| Key | Description | Possible values |
|---|---|---|
| type | Cluster system | local, slurm |
| cores | Number of cores requested per job | int |
| memory | Memory requested per job | 2GB, 1024MB, etc. |
| num_slots | Number of allocable units (currently: number of runs per job) | int |
| max_jobs | Maximum number of jobs queued (default: math.inf) |
int |
JobQueues are defined via dask-jobqueue, and further configuration may be necessary:
-
Configuration for
slurm- Usually, you want to define
queueandproject. - The keys
processes,n_workersandpythonshould not be used.
- Usually, you want to define