-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjob.ll.template
219 lines (185 loc) · 5.23 KB
/
job.ll.template
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
#@ job_name = qtmlqcd
#@ comment = "tmLQCD bgqopt"
#@ error = $(job_name).$(jobid).out
#@ output = $(job_name).$(jobid).out
#@ environment = COPY_ALL;
#@ wall_clock_limit = 00:30:00
#@ notification = error
#@ notify_user = [email protected]
#@ job_type = bluegene
#@ bg_size = 32
##@ bg_shape = 1x1x1x2
#@ bg_connectivity = TORUS
#@ queue
echo DEPART : `date`
INPUT_FILE_TINY=benchmark.input_tiny.${LOADL_STEP_ID}
cat > ${INPUT_FILE_TINY} <<+EOF
T=8
LX=4
LY=4
LZ=4
+EOF
INPUT_FILE_SMALL=benchmark.input_small.${LOADL_STEP_ID}
cat > ${INPUT_FILE_SMALL} <<+EOF
T=48
LX=40
LY=40
LZ=24
+EOF
INPUT_FILE_MEDIUM=benchmark.input_medium.${LOADL_STEP_ID}
cat > ${INPUT_FILE_MEDIUM} <<+EOF
T=48
LX=40
LY=20
LZ=12
+EOF
INPUT_FILE_BIG=benchmark.input_big.${LOADL_STEP_ID}
cat > ${INPUT_FILE_BIG} <<+EOF
T=64
LX=64
LY=64
LZ=64
+EOF
INPUT_FILE_PHMC=hmc_tm.input_phmc.${LOADL_STEP_ID}
cat > ${INPUT_FILE_PHMC} <<+EOF
T=48
#NrTProcs=4
LX=40
NrXProcs=4
LY=20
NrYProcs=2
LZ=12
NrZProcs=1
#bg_size=2048 (4 midplanes)
#local lattice=12 x 10 x 10 x 12
OMPNumThreads = 64
DebugLevel = 1
Measurements = 1
#startCondition = continue
startCondition = hot
#startCondition = cold
## Olivier + Gregorio suggestion
Kappa = 0.156364
2KappaMu = 0.00035963719
2KappaMubar = 0.03752736
2KappaEpsbar = 0.043312828
BCAngleT = 1.
BCGstabMaxIter = 0
CGMaxIter = 15000
GaugeConfigInputFile = conf.t192c96.0000
NSave = 1
ThetaT = 1.
UseEvenOdd = yes
UseRelativePrecision = yes
GaugeConfigReadPrecision = 64
SplittedPropagator = yes
PropagatorType = DiracFermion_Source_Sink_Pairs
ReversibilityCheck = yes
ReversibilityCheckIntervall = 1
InitialStoreCounter = readin
BeginMonomial GAUGE
Type = Iwasaki
beta = 2.10
Timescale = 0
EndMonomial
BeginMonomial DET
Timescale = 1
2KappaMu = 0.04
Kappa = 0.156364
AcceptancePrecision = 1.e-20
ForcePrecision = 1.e-12
Name = det
solver = CG
CSGHistory = 0
CSGHistory2 = 0
EndMonomial
BeginMonomial DETRATIO
Timescale = 2
Kappa = 0.156364
Kappa2 = 0.156364
2KappaMu = 0.004
2KappaMu2 = 0.04
AcceptancePrecision = 1.e-20
ForcePrecision = 1.e-14
solver = CG
CSGHistory = 0
CSGHistory2 = 0
Name = detratio1
MaxSolverIterations = 15000
EndMonomial
BeginMonomial DETRATIO
Timescale = 3
Kappa = 0.156364
Kappa2 = 0.156364
2KappaMu = 0.00035963719
2KappaMu2 = 0.004
AcceptancePrecision = 1.e-22
ForcePrecision = 1.e-14
solver = CG
CSGHistory = 0
CSGHistory2 = 0
Name = detratio2
MaxSolverIterations = 25000
EndMonomial
BeginMonomial NDPOLY
Timescale = 2
StildeMin = 0.0002
StildeMax = 10.0
PrecisionPtilde = 1.e-08
DegreeOfMDPolynomial = 150
PrecisionHfinal = 1.e-12
ComputeEVFreq = 1
ComputeOnlyEVs=no
EndMonomial
BeginIntegrator
Type0 = 2MN
Type1 = 2MN
Type2 = 2MN
Type3 = 2MN
IntegrationSteps0 = 1
IntegrationSteps1 = 2
IntegrationSteps2 = 3
IntegrationSteps3 = 14
tau = 1.0
Lambda0 = 0.20
Lambda1 = 0.20
Lambda2 = 0.20
Lambda3 = 0.20
NumberOfTimescales = 4
EndIntegrator
+EOF
export OMP_NUM_THREADS=64
export OMP_PROC_BIND=TRUE # Always TRUE on BG/Q
export PAMID_RZV=2147483647
export BG_COREDUMPDISABLED=0
#BG_COREDUMPONERROR=1
#BG_COREDUMPONEXIT=1
#BG_COREDUMPSTACK=1
#BG_COREDUMPREGS=0
#BG_COREDUMPTLBS=0
#PROCS=0,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
PROCS=0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63
export XLSMPOPTS="procs=${PROCS}"
#export BG_THREADLAYOUT=1 # breadth-first
#export BG_THREADLAYOUT=2 # depth-first
#MAPPING="--mapping EDCBAT"
MAPPING="--mapping ABCDET"
#env
ln -f -s ${LOADL_STEP_OUT} lqtmlqcd.out
echo ==phmc==================================================================================
#runjob --ranks-per-node 1 --env-all ${MAPPING} : ./hmc_tm -f ${INPUT_FILE_PHMC}
echo ==hmc_tm==================================================================================
#runjob --ranks-per-node 1 --env-all ${MAPPING} : ./hmc_tm -f hmc.input.bgq
echo ==invert==================================================================================
#runjob --ranks-per-node 1 --env-all ${MAPPING} : ./invert -f invert.input.bgq
echo ==benchmark==================================================================================
#runjob --ranks-per-node 1 --env-all ${MAPPING} : ./benchmark
echo ==TINY==================================================================================
#runjob --np 1 --ranks-per-node 1 --env-all ${MAPPING} : ./bgqbench -f ${INPUT_FILE_TINY}
echo ==SMALL=================================================================================
runjob --ranks-per-node 1 --env-all ${MAPPING} : ./bgqbench -f ${INPUT_FILE_SMALL}
echo ==MEDIUM================================================================================
runjob --ranks-per-node 1 --env-all ${MAPPING} : ./bgqbench -f ${INPUT_FILE_MEDIUM}
echo ==BIG===================================================================================
runjob --ranks-per-node 1 --env-all ${MAPPING} : ./bgqbench -f ${INPUT_FILE_BIG}
echo ========================================================================================