You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
batch4py is a lightweight Python module that provides a programmatic interface to many common High Performance Computing (HPC) batch schedulers. It also provides a simple way to define directed acyclic graphs (DAG) of job chains.
4
+
5
+
A common workflow to submit jobs on a batch scheduler looks something like this:
6
+
7
+
```
8
+
$ qsub job1.pbs
9
+
$ qsub -W afterany:8625371 job2.pbs
10
+
$ qsub -W afterany:8625371 job3.pbs
11
+
$ qsub -W afterany:8625372 job4.pbs
12
+
```
13
+
14
+
Performing these steps manually is fine for a handful of jobs, but doing it for dozens or hundreds of jobs becomes impractical. A 100-batch job looks like this in batch4py:
0 commit comments