Skip to content

Commit

Permalink
Add regex to docs
Browse files Browse the repository at this point in the history
Signed-off-by: adamrtalbot <[email protected]>
  • Loading branch information
adamrtalbot committed Dec 9, 2024
1 parent acd4bed commit 8920652
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ process EXAMPLE_PROCESS {

Note when creating tasks that use fewer than 4 CPUs, Nextflow will create a pool with machines that have 4 times the number of CPUs required in order to pack more tasks onto each machine. This means the pipeline spends less time waiting for machines to be created, startup and join the Azure Batch pool. Similarly, if a process requires fewer than 8 CPUs Nextflow will use a machine with double the number of CPUs required. If you wish to override this behaviour you can use a specific `machineType` directive, e.g. using a `machineType` directive of `Standard_E2d_v5` will use always use a Standard_E2d_v5 machine.

:::{note}
You can use the regular expressions to avoid certain types. For example using `standard_*[^p]_v*` will avoid any machine type that contains the letter `p` in the name, which includes ARM based machines.

The pool is not removed when the pipeline terminates, unless the configuration setting `deletePoolsOnCompletion = true` is added in your Nextflow configuration file.

Pool specific settings should be provided in the `auto` pool configuration scope. If you wish to specify a single machine size for all processes, you can specify a fixed `vmSize` for the `auto` pool.
Expand Down

0 comments on commit 8920652

Please sign in to comment.