Debian Codegraph @

source/utils/adios_iotest/iotest-config/wf_2_to_1.txt

raw
1 # Config file for Task 1 Producer
2 # - Produce variables a
3 # - Write variables a to stream_T1.bp
4
5 # Config file for Task 2 Producer
6 # - Produce variables b
7 # - Write variables b to stream_T2.bp
8
9 # Config file for Task 3 Consumer of Task 1 and Task 2
10 # - Read in variable a from stream_T1.bp
11 # - Read in variable b from stream_T2.bp
12 # - Write variables a b to stream_T3.bp
13
14
15 group io_T1
16 # item type varname N [dim1 dim2 ... dimN decomp1 decomp2 ... decompN]
17 array double a 2 100 200 X YZ
18
19 group io_T2
20 # item type varname N [dim1 dim2 ... dimN decomp1 decomp2 ... decompN]
21 array float b 1 100 XYZ
22
23 group io_T3
24 # use all variables read into io_T2_in in the output
25 link group io_T1
26 link group io_T2
27
28
29
30 # Task 1 actions
31 app 1
32 steps 3
33 sleep 5.0
34 # write all of io_T1 into stream_T1.bp
35 write stream_T1.bp io_T1
36
37 # Task 2 actions
38 app 2
39 steps 5
40 sleep 3.0
41 # write all of io_T2 into stream_T2.bp
42 write stream_T2.bp io_T2
43
44 # Task 3 actions
45 app 3
46 steps over stream_T1.bp stream_T2.bp
47 # read stream_T1.bp using io_T1 definition with non-blocking wait
48 read next stream_T1.bp io_T1 0.0
49 # read stream_T2.bp using io_T2 definition with non-blocking wait
50 read next stream_T2.bp io_T2 0.0
51
52 # write a and/or b from io_T3 into stream_T3.bp
53 # as separate steps, merging a and b into one step is not possible
54 cond stream_T1.bp write stream_T3.bp io_T3 a
55 cond stream_T2.bp write stream_T3.bp io_T3 b
56
57 sleep 1.0
58
59
60
61