Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Submit the same action to different groups/resources

You can submit the same action to different groups and resources. To do so, create multiple elements in the action array with the same name. Each must use action.group.include to select non-overlapping subsets. You can use action.from to copy all fields from one action and selectively override others.

For example, this workflow.toml uses 4 processors on directories with small N and 8 those with a large N.

[default.action]
command = "python actions.py --action $ACTION_NAME {directories}"

[[action]]
name = "compute"
products = ["results.out"]
[action.resources]
walltime.per_submission = "12:00:00"
processes.per_directory = 4
[action.group]
maximum_size = 32
[[action.group.include]]
condition = ["/N", "<=", "4096"]

[[action]]
from = "compute"
resources.processes.per_directory = 8
[[action.group.include]]
condition = ["/N", ">", "4096"]

Development of row is led by the Glotzer Group at the University of Michigan.

Copyright © 2024-2025 The Regents of the University of Michigan.