File: parallel_workpackages.xml

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 (16 lines) | stat: -rw-r--r-- 585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<jube>
  <benchmark name="parallel_workpackages" outpath="bench_run">
    <comment>A parallel workpackages demo</comment>

    <parameterset name="param_set">
      <parameter name="i" type="int" mode="python">",".join([ str(i) for i in range(0,10)])</parameter>
    </parameterset>

    <step name="parallel_execution" suffix="${i}" procs="4">
      <use>param_set</use>
      <do>echo "${i}"</do>
      <do>N=1000000 ; a=1; k=0; while [ "$k" -lt $N ]; do echo $(( 2*k + 1 + $a )) ; k=$(( k + 1 )) ; done</do>
    </step>
  </benchmark>
</jube>