Skip to content

Commit 79e9f42

Browse files
committed
add python venv
1 parent 135803e commit 79e9f42

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/computing/running/toil-cwl-runner.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ This page describes how run CWL worklflows on Puhti using `toil-cwl-runner`, inc
3333

3434
Install `toil` with `CWL` plugin.
3535
```
36+
cd /projappl/<project_nnnnnnn>
37+
python -m venv venv
38+
source venv/bin/activate
39+
3640
pip install -U setuptools wheel
3741
pip install toil[cwl]
42+
3843
toil-cwl-runner --version
3944
```
4045

@@ -81,6 +86,8 @@ The `sbatch` file `workflow.sh` will reference the `CWL` file `workflow.cwl` whe
8186
#SBATCH --cpus-per-task=2
8287
#SBATCH --partition=<partition name>
8388

89+
source /projappl/<project_nnnnnnn>/venv/bin/activate
90+
8491
WORKDIR=/projappl/project_nnnnnnn
8592
SCRATCH=/scratch/project_nnnnnnn
8693
export TMPDIR=$WORKDIR/tmp

0 commit comments

Comments
 (0)