Workflow: mpi_simple_wf.cwl
Simple 2 step workflow to check that workflow steps are independently picking up on the number of processes. First run the parallel get PIDs step (on the input num procs) then run (on a single proc) the line count. This should equal the input.
- Selected
- |
- Default Values
- Nested Workflows
- Tools
- Inputs/Outputs
This workflow is Open Source and may be reused according to the terms of:
Apache License 2.0
Note that the tools invoked by the workflow may have separate licenses.
Inputs
ID | Type | Title | Doc |
---|---|---|---|
processes | Integer |
Steps
ID | Runs | Label | Doc |
---|---|---|---|
count |
mpi_line_count.cwl
(CommandLineTool)
|
Line count of input, but mpirun on a single process |
|
par_pids |
mpi_expr.cwl
(CommandLineTool)
|
Trivial MPI test that prints the process IDs of each of the parallel
processes. Requires Python (but you have cwltool running, right?)
and an MPI implementation. |
Outputs
ID | Type | Label | Doc |
---|---|---|---|
line_count | File |
Permalink:
https://w3id.org/cwl/view/git/f94719e862f86cc88600caf3628faba6c0d05042/tests/wf/mpi_simple_wf.cwl