-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathex5.yml
35 lines (35 loc) · 1.45 KB
/
ex5.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# the alpha parameter
alpha: 0.125
# global data-size (excluding the number of ghost layers for boundary conditions)
global_size: { height: 60, width: 12 }
# degree of parallelism (number of blocks in each dimension)
parallelism: { height: 1, width: 1 }
# PDI configuration
pdi:
metadata: # small values for which PDI keeps a copy
ii: int
dsize: { type: array, subtype: int, size: 2 }
psize: { type: array, subtype: int, size: 2 }
pcoord: { type: array, subtype: int, size: 2 }
data: # values for which PDI does not keep a copy
main_field: { type: array, subtype: double, size: [ '$dsize[0]', '$dsize[1]' ] }
plugins:
trace:
logging: { pattern: '[PDI][%n-plugin] *** %l: %v' }
decl_hdf5:
- file: ex5-meta-${pcoord[0]}x${pcoord[1]}.h5
write: [ dsize, psize ]
- file: ex5-data-${pcoord[0]}x${pcoord[1]}.h5
#*** enable the output upon the event
#...
#*** enable the output when ii>0 and ii<3 (`&` is a logical `and` operation )
#...
write:
ii: # name of the PDI data to write
#*** give the dataset that you want to write into for ii
# $-expressions can be used to define dataset name in file, , "/" separate groups in path
#...
main_field:
#*** give the dataset that you want to write into for main_field
# $-expressions can be used to define dataset name in file, , "/" separate groups in path
#...