You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| project | The name of the Google Project |`--googlebatch-project`| str |`SNAKEMAKE_GOOGLEBATCH_PROJECT`| True | unset |
75
-
| region | The name of the Google Project region (e.g., us-central1) | str |`--googlebatch-region`|`SNAKEMAKE_GOOGLEBATCH_REGION`| True | unset |
76
-
| machine_type | Google Cloud machine type or VM (mpitune configurations are on c2 and c2d family) | str |`--googlebatch-machine-type`|| False | c2-standard-4 |
77
-
| image_family | Google Cloud image family (defaults to hpc-centos-7) |`--googlebatch-image-family`| str || False | hpc-centos-7 |
78
-
| image_project | The project the selected image belongs to (defaults to cloud-hpc-image-public) |`--googlebatch-image-project`| str || False | cloud-hpc-image-public |
79
-
| bucket | A bucket to mount with snakemake data |`--googlebatch-bucket`| str |`SNAKEMAKE_GOOGLEBATCH_BUCKET`| True | unset |
80
-
| mount_path | The mount path for a bucket (if provided) |`--googlebatch-mount-path`| str || False | /mnt/share |
81
-
| work_tasks | The default number of work tasks (these are NOT MPI ranks) |`--googlebatch-work-tasks`| int || False | 1 |
82
-
| cpu_milli | Milliseconds per cpu-second |`--googlebatch-cpu-milli`| int || False | 1000 |
83
-
| work_tasks_per_node | The default number of work tasks per node (Google Batch calls these tasks) |`--googlebatch-work-tasks-per-node`| int || False | 1 |
84
-
| memory | Memory in MiB |`--googlebatch-memory`| int || False | 1000 |
85
-
| retry_count | Retry count (default to 1) |`--googlebatch-retry-count`| int || False | 1 |
86
-
| max_run_duration | Maximum run duration, string (e.g., 3600s) |`--googlebatch-max-run-duration`| str || False | "3600s" |
87
-
| labels | Comma separated key value pairs to label job (e.g., model=a3,stage=test) |`--googlebatch-labels`| str || False | unset|
88
-
| container | Container to use (only when image_family is batch-cos*) [see here](https://cloud.google.com/batch/docs/vm-os-environment-overview#supported_vm_os_images) for families/projects |`--googlebatch-container`| str || False | unset|
89
-
| keep_source_cache | Cache workflows in your Google Cloud Storage Bucket |`--googlebatch-keep-source-cache`| bool || False | False |
90
-
| snippet | A comma separated list of one or more snippets to add to your setup |`--googelbatch-snippets`| str || False | unset |
91
-
92
-
For machine type, note that for MPI workloads, mpitune configurations are validated on c2 and c2d instances only.
93
-
Also note that you can customize the machine type on the level of the step (see [Step Options](#step-options) below).
94
-
95
68
#### Choosing an Image
96
69
97
70
You can read about how to choose an image [here](https://cloud.google.com/batch/docs/view-os-images). Note that
@@ -152,6 +125,9 @@ rule hello_world:
152
125
"..."
153
126
```
154
127
128
+
Note that for MPI workloads, mpitune configurations are validated on c2 and c2d instances only.
129
+
130
+
155
131
#### googlebatch_image_family
156
132
157
133
This will define the image family for a particular step, overriding the default from the command line.
@@ -225,6 +201,34 @@ rule hello_world:
225
201
"..."
226
202
```
227
203
204
+
#### googlebatch_network
205
+
206
+
The URL of an existing network resource (e.g., `projects/{project}/global/networks/{network}`)
0 commit comments