To specify a compute type for a CWL CommandLineTool, either define the ram and number of coresor use the resource type and size. The ICA Compute Type will automatically be determined based on CWL ResourceRequirement coresMin/coresMax (CPU) and ramMin/ramMax (Memory) values using a "best fit" strategy to meet the minimum specified requirements (See the Compute Types table to see to what the resources are mapped).
For example, take the following ResourceRequirements:
You can set economy mode with the "tier" parameter
Considerations
If no Docker image is specified, Ubuntu will be used as default. Both : and / can be used as separator.
CWL Overrides
ICA supports overriding workflow requirements at load time using Command Line Interface (CLI) with JSON input. Please refer to CWL documentation for more details on the CWL overrides feature.
In ICA you can provide the "override" recipes as a part of the input JSON. The following example uses CWL overrides to change the environment variable requirement at load time.