aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: faaf79c140a1b4286b998cbbd8c7e318ded3ccd2 (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
# Parameter definitions for thorn TerminationTrigger

PRIVATE:

REAL on_remaining_walltime "When to trigger termination in MINUTES" STEERABLE = ALWAYS
{
  0.0    :: "Don't trigger termination"
  (0.0:* :: "So many minutes before your job walltime is over"
} 0.0

REAL max_walltime "Walltime in HOURS allocated for this job" STEERABLE = ALWAYS
{
  0.0    :: "Don't trigger termination"
  (0.0:* :: "Should be positive, right"
} 0.0

BOOLEAN termination_from_file "Use termination file; specified by termination_filename" STEERABLE = ALWAYS
{
} "no"

BOOLEAN create_termination_file "Create an empty termination file at startup" STEERABLE = RECOVER
{
} "no"

STRING termination_file "Termination file name (either full path or relative to IO::out_dir)" STEERABLE = ALWAYS
{
  "" ::  "Termination file"
} "/tmp/cactus_terminate"

INT check_file_every "Check termination file every n timesteps" STEERABLE = ALWAYS
{
  1:* :: ""
} 1

REAL output_remtime_every_minutes "Output remaining wall time every n minutes" STEERABLE = ALWAYS
{
  0.0    :: "No output"
  (0.0:* :: "Output"
} 60.0

SHARES: IO

USES STRING out_dir