Demo workflows#
These workflow templates are included in hpcFlow as demonstrations. You can copy a demo workflow template to somewhere accessible using the CLI like this:
hpcflow demo-workflow copy WORKFLOW_NAME DESTINATION
where WORKFLOW_NAME
is the name of one of the demo workflows, and DESTINATION
is the
target copy location, which can be a directory (e.g. "."
for the current
working directory, or a full file path).
In the Python API, we can copy a demo workflow template file like this:
import hpcflow.app as hf
hf.copy_demo_workflow(name, dst)
workflow_1#
Simple test workflow with single OS-agnostic task that prints to the shell’s standard output stream.
workflow_1.yaml
tasks:
- schema: test_t1_conditional_OS # this schema works on both Windows and POSIX
inputs:
p1: 101