-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_model.xml
85 lines (69 loc) · 5.84 KB
/
run_model.xml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0"?>
<biocellion>
<!-- required, mandatory simulation configuration parameters, required -->
<required>
<!-- time_step, set the starting time step and ending time step, Biocellion executes end - start baseline time steps, required
start: starting baseline time step, required, integer, [0,)
end: ending baseline time step, required, integer, [start + 1,)
-->
<time_step start="0" end="150000"/> <!--75000 -->
<!-- domain, parameters describing the simulation domain
x(, y, or z): simulation grid size in the x(, y, or z) direction, x(, y, or z) should be equl to or larger than 4 (minimum parition size), positive integer multiple of refine_ratio^(interface grid level in AMR), and equal to or larger than refine_ratio^(interface grid level in AMR) * 2 (minimum box size), required, integer, [4,)
-->
<!--<domain x="32" y="32" z="32"/> -->
<domain x="8" y="8" z="16"/>
<!-- init_data, parameters related to initial agent and grid data, required
partition_size: partition size, partition_size should be equl to or larger than 4 (minimum parition size), positive integer multiple of refine_ratio^(interface grid level in AMR), and equal to or larger than refine_ratio^(interface grid level in AMR) * 2 (minimum box size), required, integer, [4,)
src: initial agent and grid data source, set to code to initialize inside the model code, set to file to read from files, required, code|file
file_type: valid only when src is set to file. input data file type, set to binary if input data files have the Biocellion binary format (currently only this option is supported), required, binary
path: valid only when src is set to file. path to the directory containing input data files, required, text
-->
<init_data partition_size="32" src="code"/>
<!-- output, parameters related to output data, required
path: path to the directory to dump output data files, required, text
particle: set to pvtp to output particle data using the parallel VTK poly format (currently only the pvtp format is supported), required, pvtp
grid: set to vthb to output data using the VTK hierarchical box data format (currently only the vthb format is supported), required, vthb
start_x(, y, or z): output box offset in the x(, y, or z) direction, must be an integer multiple of refine_ratio^(number of AMR levels - 1), required, integer, [1,)
size_x(, y, or z): output box size in the x(, y, or z) direction, must be an integer multiple of refine_ratio^(number of AMR levels - 1), required, integer, [1,)
-->
<output path="./output" particle="pvtp" grid="vthb" start_x="0" start_y="0" start_z="0" size_x="8" size_y="8" size_z="16"/>
</required>
<!-- optional, optional simulation configuration parameters, optional -->
<optional>
<!-- model, to set model specific parameters, optional
param: saved to Info::modelParam, optional, default="", text
-->
<!-- z_offset z_size blocked_grid_points_file_path c_poly_seed_sites_path #_eh_cells #_sh_cells #_nh_cells -->
<model param=""/>
<!-- stdout, control standard output, optional
path: if set, standard output messages are redirected to the output.log (or output.log.[process_id]) file under the specified path, optional, text
verbosity: controls the verbosity of standard output messages (5 for the highest level of verbosity), optional, default=1, [0,5]
time_stamp: if set to yes, a time stamp is inserted right before every output message, optional, default=no, yes|no
-->
<stdout path="" verbosity="3" time_stamp="yes"/>
<!-- system, parameters related to shared and distributed memory parallelism, optional
num_threads: number of threads per MPI process, optional, integer, default=# cores (or hardware threads) in a node, [1,)
num_node_groups: number of node groups in a system, optional, integer, default=1, [1,)
num_nodes_per_group: number of nodes per node group, optional, default=# MPI processes, [1,)
num_sockets_per_node: number of NUMA sockets per node, this information is used for NUMA binding, set to 1 to turn-off NUMA binding, num_node_groups * num_nodes_per_group * num_sockets_per_node should coincide with # MPI processes, optional, default=1, [1,)
-->
<system num_node_groups="1" num_nodes_per_group="1" num_sockets_per_node="1" num_threads="12"/>
<!-- super_partition, sets super partition size
x(, y, or z): super partition size in the direction of x(, y, or z), a larger value reduces the communication requirement between node groups at the expense of lower parallelism, this number should be an integer multiple of partition_size, optional, default=the smallest integer multiple of partition_size that is equal to or larger than x(, y, or z) (of domain), integer, [1,)
-->
<super_partition x="64" y="64" z="64"/>
<!-- interval, controls the frequency of output dump, summary report, load balancing, regridding, and checkpointing, optional
output: output dump interval (0: turn off, unit: baseline time steps), optional, default=0, integer, [0,)
summary: summary report interval (0: turn off, unit: baseline time steps), optional, default=0, integer, [0,)
load_balance: load balancing interval (unit: baseline time steps), optional, integer, default=100, [1,)
regridding: regridding interval (unit: baseline time steps), regridding should be equal to or smaller than load_balance and regridding should equally divide load_balance, optional, integer, default=100, [1,)
checkpoint: checkpoint interval (0: turn off, unit: baseline time steps), optional, default=0, integer, [0,)
-->
<interval output="200" summary="100" load_balance="1000000" regridding="1000000" checkpoint="1000000"/>
<!-- amr, controls adaptive mesh refinement
refine_ratio: adaptive mesh refinement ratio between two consecutive levels, optional, default=2, 2|4|8
fill_ratio: controls grid efficiency in mesh generation based on model provided tags, large value will generate less filled larger blocks, optional, default=0.5, [0.0,1.0]
-->
<amr refine_ratio="4" fill_ratio="0.5"/>
</optional>
</biocellion>