Debian Codegraph @

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

raw
1 # Config file for Task 1 in a pipeline
2 # - Produce variables a b c
3 # - Write variable a b c to stream_T1.bp
4 # - Read in variables from Task2 from stream_T2.bp
5
6 # Config file for Task 2 in a pipeline
7 # - Read in variables a b c from Task 1 from stream_T1.bp
8 # - Produce variable d e
9 # - Write variables 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
19 # item type varname N [dim1 dim2 ... dimN decomp1 decomp2 ... decompN]
20 array int d 3 100 200 300 XY z 1
21 array float e 2 250 128 X YZ
22
23
24
25 ## Task 1 actions
26 app 1
27 # Specify the number of output steps
28 # This applies to the task which starts with writing.
29 # Tasks that start with reading will process all steps from their producers
30 steps 3
31 sleep 2.0
32 #
33 # write all of io_T1 into stream_T1.bp
34 #
35 write stream_T1.bp io_T1
36 sleep 0.1
37 #
38 # read select variables from stream_T2 using io_T2 definition
39 #
40 read next stream_T2.bp io_T2 -1
41
42
43
44 ## Task 2 actions
45 app 2
46 steps over stream_T1.bp
47 sleep 0.1
48
49 # read a & b from stream_T1.bp using io_T1 definition
50 read next stream_T1.bp io_T1 -1 a b
51
52 sleep 2.0
53
54 # write d & e from io_T2 into stream_T2.bp
55 write stream_T2.bp io_T2 d e
56
57 sleep 1.123456789
58
59