aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 6de1f7660c89d2e3c845f95a641dd3b8a063bc9a (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# Parameter definitions for thorn pugh
# $Header$

restricted:
   
INT global_nx "The size of the grid in the x direction"
{
    0:*     :: "Grid of this size distributed across all processors"
} 10

INT global_ny "The size of the grid in the y direction"
{
    0:*     :: "Grid of this size distributed across all processors"
} 10

INT global_nz "The size of the grid in the z direction"
{
    0:*     :: "Grid of this size distributed across all processors"
} 10

INT global_nsize "The size of the grid in each spatial direction"
{
    -1:*     :: "Grid of this size in each dir distributed across all processors"
} -1

INT ghost_size_x "The width of the ghost zone in the x direction"
{
    1:*     :: "Must be a positive integer"
} 1

INT ghost_size_y "The width of the ghost zone in the y direction"
{
    1:*     :: "Must be a positive integer"
} 1

INT ghost_size_z "The width of the ghost zone in the z direction"
{
    1:*     :: "Must be a positive integer"
} 1

INT ghost_size "The width of the ghost zone in each direction"
{
    -1:*     :: "Must be a positive integer"
} -1

private:

INT local_nx "The size of the grid in the x direction"
{
    -1:*     :: "Grid of this size on each processor"
} -1

INT local_ny "The size of the grid in the y direction"
{
    -1:*     :: "Grid of this size on each processor"
} -1

INT local_nz "The size of the grid in the z direction"
{
    -1:*     :: "Grid of this size on each processor"
} -1

INT local_nsize "The size of the grid in each spatial direction"
{
    -1:*     :: "Grid of this size in each dir on each processor"
} -1

BOOLEAN sync_verbose "Verbose output during synchronization ?"
{
} no

BOOLEAN enable_all_storage "Enable storage for all GFs?"
{
} "no"

# Processor topology

KEYWORD proc_topology "How to determine the processor topology"
{
  "manual"    :: "Specified by proc_top_nx etc"
  "automatic" :: "Automatically generated"
} "automatic"


INT proc_top_nx "No of Procs in X direction"
{
  0:*  :: "See proc_topology"
} 0

INT proc_top_ny "No of Procs in Y direction"
{
  0:*  :: "See proc_topology"
} 0

INT proc_top_nz "No of Procs in Z direction"
{
  0:*  :: "See proc_topology"
} 0

INT processor_topology_1d_x "No of Procs in X direction"
{
  0:*  :: "See proc_topology"
} 0

INT processor_topology_2d_x "No of Procs in X direction"
{
  0:*  :: "See proc_topology"
} 0

INT processor_topology_2d_y "No of Procs in X direction"
{
  0:*  :: "See proc_topology"
} 0

INT processor_topology_3d_x "No of Procs in X direction"
{
  0:*  :: "See proc_topology"
} 0

INT processor_topology_3d_y "No of Procs in X direction"
{
  0:*  :: "See proc_topology"
} 0

INT processor_topology_3d_z "No of Procs in X direction"
{
  0:*  :: "See proc_topology"
} 0


# padding stuff

BOOLEAN padding_active "Padd 3D arrays so they line up on cache lines?"
{
} no


INT padding_cacheline_bits "Number of bits which have to be unique to padd properly for cache lines"
{
  1:*  :: "Any positive number"
} 12

INT padding_size "How many CCTK_REALs to pad by; we have to noodle around with the starting address, so if there isn't enough space we may not be able to pad"
{
  0:*  ::  "Any positive number"
} 4112

INT padding_address_spacing "Number of CCTK_REALs to space starting addresses in lowest padding_cacheline_bits bits"
{
  0:*  ::  "Any positive number"
} 24

BOOLEAN zero_memory "Zero memory for GF's at allocation time ?"
{
} yes