Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions execution/task_based_execution_cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Three resources make up a task-based campaign:

This tutorial walks through a task-based campaign using the OpenFE command-line
interface. For the equivalent workflow using the Python API, see the
[Task-Based Execution with the Python API tutorial](...).
Task-Based Execution with the Python API tutorial.

> **Note:** To run this tutorial, clone the OpenFE ExampleNotebooks repository
> and run these commands from the tutorial directory. The example input files
Expand Down Expand Up @@ -229,10 +229,11 @@ For example, a simple SLURM worker script could contain:
# Activate the environment containing OpenFE
conda activate openfe_env

# continue submitting run-task in serial until the wall time is hit
# continue submitting run-task up to 50 times (a reasonable upper limit for this campaign)
# in serial until the wall time is hit
# you may submit this *script* multiple times to have workers execute tasks in parallel

while true; do
for i in {1..50}; do
openfe run-task --warehouse warehouse_mcl1/ --task-db tasks_mcl1.db --scratch scratch/
done
```
Expand Down
Loading