Debian Codegraph @

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

raw
1 # Config file for Task 1 in a pipeline
2 # - Produce variables a b c
3 # - Write variables a b c to stream_T1.bp
4
5 # Config file for Task 2 in a pipeline
6 # - Read in variables a b from Task 1 (ignore c) from stream_T1.bp
7 # using a different decomposition
8 # - Produce variable d e
9 # - Write variables a b d e to stream_T2.bp
10
11
12 group io_T1
13 # item type varname N [dim1 dim2 ... dimN decomp1 decomp2 ... decompN]
14 array double a 2 100 200 X YZ
15 array float b 1 100 XYZ
16 array float c 3 100 200 300 XY z 1
17
18 group io_T2_in
19 # item type varname N [dim1 dim2 ... dimN decomp1 decomp2 ... decompN]
20 array double a 2 100 200 XY Z
21 array float b 1 100 XYZ
22
23 group io_T2_out
24 # use all variables read into io_T2_in in the output
25 link group io_T2_in
26 array int d 3 100 200 300 XY z 1
27 array float e 2 250 128 X YZ
28
29
30
31 # Task 1 actions
32 app 1
33 steps 3
34 sleep 5.0
35 # write all of io_T1 into stream_T1.bp
36 write stream_T1.bp io_T1
37
38 # Task 2 actions
39 app 2
40 steps over stream_T1.bp
41 # read a & b from stream_T1.bp using io_T2_in definition without blocking wait
42 read next stream_T1.bp io_T2_in 0 a b
43
44 # Sleep and write only if read was successful:
45 cond stream_T1.bp sleep 2.0
46 # write io_T2 into stream_T2.bp
47 # a & b will be the data from stream_T1.bp
48 # d & e will be generated by app 2
49 cond stream_T1.bp write stream_T2.bp io_T2_out
50
51 sleep 1.123456789
52
53
54
55