weaver(1)
π NAME π
weaver β a whole workflow engine for executing distributed workflows π¦β¨ (and yes bestie, this is the weaver page from the Cooperative Computing Tools manual, section 1, we're fancy like that π
)
π SYNOPSIS π
weaver [options] <weaverfile>
πΈ DESCRIPTION πΈ
okay so. Weaver is a high level interface to makeflow, and it is literally the moment. A weaver input file is written in python π, and in it you define functions to be applied on sets of files. weaver reads that input file and generates a workflow specification that can be executed by makeflow. and the way this lets you implement different workflow execution patterns in a straightforward way β like MapReduce and AllPairs β is giving main character energy, no cap π₯
/-------- +-+ Python |
| ---+----/
+---------------------------------+ | | Generate DAG
| Weaver +-+ v
+---------------------------------+ /-------| Makeflow +---+ DAG |
+--------+-----------+-----+------+ -------/
| Condor | WorkQueue | SGE | Unix +-+ | Dispatch Jobs
+--------+-----------+-----+------+ | v
| /------- +-+ Jobs |
-------/
β¨ OPTIONS β¨
by default, running weaver on a <weaverfile> generates an input file for makeflow, <Makeflow>, plus a directory, <_Stash>, where all the intermediate files get stashed π«Ά
π« General options
-hβ give help information π-Wβ stop on warnings. like, we're not ignoring the red flags bestie π-gβ include debugging symbols in DAG π-Iβ do not automatically import built-ins π-Nβ do not normalize paths π€οΈ-b <options>β set batch job options (cpu, memory, disk, batch, local, collect) βοΈ-d <subsystem>β enable debugging for <subsystem> π-o <log_path>β set log path (default:stderr) π-O <directory>β set stash output directory (default<_Stash>) π¦
π§ Optimization Options
-aβ automatically nest abstractions πͺ-t <group_size>β inline tasks based on <group_size> π
π Engine Options
-xβ execute DAG using workflow engine after compiling πββοΈ-e <arguments>β set arguments to workflow engine when executing π―-wwrapper <>β set workflow engine wrapper π
π¦ EXIT STATUS π¦
- On success, returns zero β
- On failure, returns non-zero β
π EXAMPLES π
Weaver expresses common workflow patterns succinctly β¨ for example, with only the following three lines of code we can express a map pattern, in which we convert some images to the jpeg format:
convert = ParseFunction('convert {IN} {OUT}')
dataset = Glob('/usr/share/pixmaps/*.xpm')
jpgs = Map(convert, dataset, '{basename_woext}.jpg')
please refer to cctools/doc/weaver_examples for further information π
The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details. π«Ά
and that's the whole page bestie, ily, go slay some workflows π
π this was the weaver(1) page from CCTools 8.0.0 DEVELOPMENT β mwah, see u next manpage πβ¨
π¦ where this page comes from
- debian bookworm: coop-computing-tools 9.9-2+b4 Β· GPL-2.0-only
- ubuntu jammy: coop-computing-tools 9.9-2ubuntu3 Β· GPL-2.0-only
- ubuntu noble: coop-computing-tools 9.9-4ubuntu4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms