File: parallel_workpackages.yaml

package info (click to toggle)
jube 2.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,640 kB
  • sloc: python: 8,415; xml: 838; sh: 180; makefile: 14
file content (15 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: parallel_workpackages
outpath: bench_run
comment: A parallel workpackages demo

parameterset:
  name: param_set
  parameter: {name: i, type: int, mode: python, _: "\",\".join([ str(i) for i in range(0,10)])"}
step:
  name: parallel_execution
  suffix: ${i}
  procs: 4
  use: param_set
  do:
  - "echo \"${i}\""
  - "N=1000000 ; a=1; k=0; while [ \"$k\" -lt $N ]; do echo $(( 2*k + 1 + $a )) ; k=$(( k + 1 )) ; done"