Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tutorials

This section contains learning-oriented lessons to help you get started with Torc. Each tutorial walks through a complete example from start to finish.

Tutorials:

  1. Configuration Files - Set up configuration files for Torc components
  2. Dashboard Deployment - Deploy torc-dash for local, shared, or HPC environments
  3. Workflow Wizard - Create workflows using the dashboard’s interactive wizard
  4. Many Independent Jobs - Create a workflow with 100 parallel jobs
  5. Diamond Workflow - Fan-out and fan-in with file dependencies
  6. User Data Dependencies - Pass JSON data between jobs
  7. Simple Parameterization - Single parameter dimension sweep
  8. Advanced Parameterization - Multi-dimensional hyperparameter grid search
  9. Multi-Stage Workflows with Barriers - Scale to thousands of jobs efficiently
  10. Map Python Functions - Distribute Python functions across workers
  11. Filtering CLI Output with Nushell - Filter jobs, results, and user data with readable queries
  12. Custom HPC Profile - Create an HPC profile for unsupported clusters

Start with the Configuration Files tutorial to set up your environment, then try the Dashboard Deployment tutorial if you want to use the web interface.

Example Files

The repository includes ready-to-run example workflow specifications in YAML, JSON5, and KDL formats. These complement the tutorials and demonstrate additional patterns:

ExampleDescriptionTutorial
diamond_workflow.yamlFan-out/fan-in patternDiamond Workflow
hundred_jobs_parameterized.yaml100 parallel jobs via parameterizationMany Jobs
hyperparameter_sweep.yamlML grid search (3×3×2 = 18 jobs)Advanced Params
multi_stage_barrier_pattern.yamlEfficient multi-stage workflowBarriers
resource_monitoring_demo.yamlCPU/memory tracking
workflow_actions_simple_slurm.yamlAutomated Slurm scheduling

Browse all examples:

See the examples README for the complete list and usage instructions.