How to Submit a Workflow to Slurm
Submit a workflow specification to a Slurm-based HPC system with automatic scheduler generation.
Quick Start
torc submit-slurm --account <your-account> workflow.yaml
Torc will:
- Detect your HPC system (e.g., NREL Kestrel, Eagle)
- Match job requirements to appropriate partitions
- Generate Slurm scheduler configurations
- Submit everything for execution
Preview Before Submitting
Always preview the generated configuration first:
torc slurm generate --account <your-account> workflow.yaml
This shows the Slurm schedulers and workflow actions that would be created without submitting.
Requirements
Your workflow must define resource requirements for jobs:
name: my_workflow
resource_requirements:
- name: standard
num_cpus: 4
memory: 8g
runtime: PT1H
jobs:
- name: process_data
command: python process.py
resource_requirements: standard
Options
# See all options
torc submit-slurm --help
See Also
- Slurm Workflows — Full Slurm integration guide
- HPC Profiles — Available HPC system configurations