aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 544c0891cac7f666d51ef1eaf25c8f13545daeb1 (plain)
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
# Parameter definitions for thorn IOStreamedHDF5
# $Header$

#############################################################################
### declare IOStreamedHDF5 parameters
#############################################################################
private:

########################
# How often to do output
########################
INT out_every "How often to do HDF5 streaming, overrides IO::out_every" STEERABLE = ALWAYS
{
   1:* :: "Every so many iterations"
   0:  :: "Disable IOStreamedHDF5 output"
  -1:  :: "Default to IO::out_every"
} -1

#####################
# Variables to output
#####################
STRING out_vars "Variables to stream in HDF5 file format" STEERABLE = ALWAYS
{
  ".+" :: "Space-separated list of fully qualified variable/group names"
  "^$" :: "An empty string to output nothing"
} ""

INT data_port "Port to stream out the HDF5 data files" STEERABLE = RECOVER
{
  1000:32000 :: "Ports below 1000 require root access"
} 8000


###############
# Checkpointing
###############
BOOLEAN checkpoint "Do checkpointing with IOStreamedHDF5" STEERABLE = ALWAYS
{
} "no"
BOOLEAN checkpoint_next "Checkpoint at next iteration" STEERABLE = ALWAYS
{
} "no"
INT checkpoint_port "Port to stream out HDF5 checkpoint files" STEERABLE = ALWAYS
{
  1000:32000 :: "Ports below 1000 require root access"
} 8001
INT checkpoint_accept_timeout "Timeout in seconds for accepting client connections to stream checkpoint files to"
{
  0:* :: "A value of 0 means not to wait on clients at all"
} 0


#############################################################################
### import IOUtil parameters
#############################################################################
shares: IO

USES INT out_every AS io_out_every

USES KEYWORD verbose
USES BOOLEAN print_timing_info
USES BOOLEAN strict_io_parameter_check

USES INT     checkpoint_every
USES BOOLEAN checkpoint_ID
USES BOOLEAN checkpoint_on_terminate
USES KEYWORD recover
USES STRING  recover_file