Skip to content

Glossary

Definitions of different terms and concepts in the Sirocco terminology


configuration directory

Directory containing the sirocco.yaml file and all files needed to configure the tasks (software configuration files, scripts, source code, ...). Relative paths in the configuration are resolved from it and it is the positional argument of the sirocco CLI. The standalone engine runs the workflow in place: it creates the run directory, hosting the task run directories, and the sirocco.log file inside it.

continuation task

Job propagating the task front with the standalone engine. The scheduler starts it as soon as any rank 0 task terminates. It then updates the front, submits new tasks and the next continuation task, and stores the workflow state to file. It is configured via the special SIROCCO task. See Standalone engine.

coordinates

Set of values identifying a specific instance of a task or data among all instances sharing the same name in the unrolled graph. Coordinates are the instance date, if it belongs to a recurring cycle, and the values of the parameters attached to it. They are reflected as well in the task run directory.

cycle

Set of potentially recurring tasks sharing a common periodicity, declared in the cycles section. The recurrence is given by a start date, a stop date and a period, all in ISO 8601 format. Without this information, the cycle is a one-off cycle, happening only once. Each repetition is called a cycle occurrence.

cycle occurrence

One repetition of a cycle, spanning from its occurrence start date to its occurrence stop date. The last occurrence ends exactly at the cycle stop date, even if it is shorter than the cycle period.

data

Piece of information stored on a file system and produced by a piece of software, represented as a node in the workflow graph. Human written files used to configure a task (e.g. a FORTRAN namelist) are not data but part of the workflow configuration. Data is either available, i.e. existing before the workflow starts, or generated as an output of a task. Data properties are declared in the root level data section while their relationships to tasks are described in the cycles section.

date

Attribute of a cycle occurrence and of the task and generated data instances belonging to it. By convention, it is the occurrence start date. It is one of the coordinates of these instances and is used to target them with target_cycle.

engine

Component orchestrating the execution of a workflow. The standalone engine runs autonomously on the HPC system, relying on the scheduler as the sole running daemon, while the AiiDA engine (under development) runs on a dedicated server. See Orchestration.

inputs

Data instances consumed by a task, grouped by port in the task inputs specification of the cycles section. An input which is generated by another task induces a dependency between the two tasks.

outputs

Data instances produced by a task, grouped by port in the task outputs specification of the cycles section. Only generated data can be outputs.

parameter

Named sequence of values declared in the root level parameters section and attached to tasks and data. One instance of a parameterized task or piece of data is created for each combination of the values of its parameters (full matrix). When targeting a parameterized node in the cycles section, each parameter is resolved with a targeting mode: single (same value as the current task) or all (all values, the default). Typically used for ensemble or sensitivity experiments. See Parameters.

partial date

Date given in target_cycle with placeholders such as %Y or %m, filled in with the corresponding fields of the current task date, e.g. '%Y-01-01T00:00' for January 1st of the current year. See Partial dates.

plugin

Implementation of the actual behavior of a task, selected with the plugin task specification. Sirocco currently provides the general purpose shell plugin and the icon plugin, dedicated to the ICON model.

port

Named role that one or several pieces of data play for a given task. Inputs and outputs are specified as mappings from port names to sequences of data, which can be understood as a formal equivalent of command line arguments. Ports allow tasks to use data unambiguously without making assumptions on the behavior of other tasks. The port names link and link_content are reserved.

rank

Position of a task in the dependency structure of the workflow. The global rank \(R\) is the index of the topological generation the task belongs to. The local rank \(r\) locates the task with respect to the task front: \(-1\) for completed tasks, \(0\) to \(d-1\) for tasks within the front, \(d\) for not yet submitted tasks.

run directory

Directory in which a task instance runs. With the standalone engine, it is located at run/<task_rundir_name> under the configuration directory, where <task_rundir_name> is built from the task name and its coordinates.

task

Unit of work submitted as a job to the HPC scheduler and represented as a node in the workflow graph. Its content (scheduling information, scripts, configuration files, ...) is declared in the root level tasks section and its behavior is implemented by a plugin. Its place in the graph is described in the cycles section. The special ROOT and SIROCCO tasks respectively provide default settings for all tasks and settings for the Sirocco continuation task of the standalone engine.

task front

Set of tasks submitted to the scheduler, either ready to run (running or queued) or submitted ahead-of-time, organized in \(d\) dynamical generations, where \(d\) is the front_depth. As tasks complete, the front propagates through the graph by submitting new tasks with adequate scheduler dependencies. See the deep propagating task front.

wait_on

Explicit dependency between tasks, added on top of the ones derived from inputs and outputs relationships. Typically used to prevent tasks from running too early. See wait_on.

workflow

Directed acyclic graph of task and data instances obtained by unrolling the cycles and parameters described in the sirocco.yaml file of a configuration directory.