• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisiondc46d31809b0e0c70897f244d778343c75e4fd09 (tree)
l'heure2013-07-12 19:16:43
AuteurMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Message de Log

Tests of MPI for cis are added #31588

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/mpi-cis@1390 1136aad2-a195-0410-b898-f5ea1d11b9d8

Change Summary

Modification

--- a/test/Test_Of_MolDS.rb
+++ b/test/Test_Of_MolDS.rb
@@ -37,20 +37,22 @@ else
3737 end.freeze
3838 end
3939
40-class TesterOmp
40+class Tester
4141 @@surfixDat = ".dat"
4242 @@surfixInp = ".in"
4343 @@tempFile = "temp.dat"
4444 @@moldsBin = MolDSBin
4545 @@command = "command: "
46+ @@mpiCommand = "mpirun -np "
47+ @@mpiProcesses = "2"
4648 @@deleteDiff = " | gawk '{if(($2!=\"SCF\")&&($3!=\"iter\")){print $0}}' | gawk '{if(($4!=\"time:\")){print $0}}' | gawk '{if(($3!=\"Elapsed\")){print $0}}' | gawk '{if(($2!=\"Elapsed\")){print $0}}' | gawk '{if(($3!=\"Welcome\")){print $0}}' | gawk '{if(($7!=\"residual\")){print $0}}' | gawk '{if(($3!=\"mode(nmw):\") ){print $0}}' | gawk '{if( !(($3==\"mode(mw):\")&&($4<6)) ){print $0}}'"
4749 @@printed_section = []
4850 def doesTestOmp(mklNumThreads, ompNumThreads)
4951 return unless should_run?
5052 ENV["MKL_NUM_THREADS"] = mklNumThreads
5153 ENV["OMP_NUM_THREADS"] = ompNumThreads
52- puts <<EOS % [ENV["MKL_NUM_THREADS"],ENV["OMP_NUM_THREADS"]]
53-MPI:no
54+ puts <<EOS % [0,ENV["MKL_NUM_THREADS"],ENV["OMP_NUM_THREADS"]]
55+MPI processes: %s
5456 MKL_NUM_THREADS:%s
5557 OMP_NUM_THREADS:%s
5658 EOS
@@ -60,6 +62,21 @@ EOS
6062 system(@diffCommand + @@deleteDiff)
6163 puts '','',''
6264 end
65+ def doesTestMpi(mklNumThreads, ompNumThreads)
66+ return unless should_run?
67+ ENV["MKL_NUM_THREADS"] = mklNumThreads
68+ ENV["OMP_NUM_THREADS"] = ompNumThreads
69+ puts <<EOS % [@@mpiProcesses,ENV["MKL_NUM_THREADS"],ENV["OMP_NUM_THREADS"]]
70+MPI processes: %s
71+MKL_NUM_THREADS:%s
72+OMP_NUM_THREADS:%s
73+EOS
74+ puts @@command + @moldsCommandMPI
75+ system(@moldsCommandMPI)
76+ puts @@command + @diffCommand + @@deleteDiff
77+ system(@diffCommand + @@deleteDiff)
78+ puts '','',''
79+ end
6380 #def initialize(prefix, section=nil, title)
6481 #Old ruby workaround.
6582 #Old versioned ruby accept default values for only last arguments.
@@ -72,6 +89,7 @@ EOS
7289 @inputFile = prefix + @@surfixInp
7390 @outputFile = prefix + @@surfixDat
7491 @moldsCommand = @@moldsBin + " < " + @inputFile + " > " + @@tempFile
92+ @moldsCommandMPI = @@mpiCommand + @@mpiProcesses + " " + @@moldsBin + " " + @inputFile + " > " + @@tempFile
7593 @diffCommand = "diff " + @outputFile + " " + @@tempFile
7694 @title = title
7795 # Update section title if given, otherwise reuse previous one.
@@ -110,7 +128,7 @@ system "md5sum #{MolDSBin}"
110128 puts '',''
111129
112130 prefix = "FNC1_principal"
113-testerOmp = TesterOmp.new(prefix, <<"SECTION",<<"TITLE")
131+tester = Tester.new(prefix, <<"SECTION",<<"TITLE")
114132 ---------------------------------------------------
115133 ----------- Test of principal axes --------------
116134 ---------------------------------------------------
@@ -119,10 +137,10 @@ SECTION
119137 TITLE
120138 mklNumThreads = "1"
121139 ompNumThreads = "1"
122-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
140+tester.doesTestOmp(mklNumThreads,ompNumThreads)
123141
124142 prefix = "FNC1_rot120"
125-testerOmp = TesterOmp.new(prefix, <<"SECTION",<<"TITLE")
143+tester = Tester.new(prefix, <<"SECTION",<<"TITLE")
126144 ---------------------------------------------------
127145 ----------- Test of rotate ----------------------
128146 ---------------------------------------------------
@@ -131,10 +149,10 @@ SECTION
131149 TITLE
132150 mklNumThreads = "1"
133151 ompNumThreads = "1"
134-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
152+tester.doesTestOmp(mklNumThreads,ompNumThreads)
135153
136154 prefix = "FNC1_translate"
137-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
155+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
138156 ---------------------------------------------------
139157 ----------- Test of translate -------------------
140158 ---------------------------------------------------
@@ -143,10 +161,10 @@ SECTION
143161 TITLE
144162 mklNumThreads = "1"
145163 ompNumThreads = "1"
146-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
164+tester.doesTestOmp(mklNumThreads,ompNumThreads)
147165
148166 prefix = "ch4_cndo2"
149-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
167+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
150168 -------------------------------------------
151169 ---------- Test of CNDO2/HF ---------
152170 -------------------------------------------
@@ -155,35 +173,35 @@ SECTION
155173 TITLE
156174 mklNumThreads = "1"
157175 ompNumThreads = "1"
158-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
176+tester.doesTestOmp(mklNumThreads,ompNumThreads)
159177 mklNumThreads = "2"
160178 ompNumThreads = "2"
161-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
179+tester.doesTestOmp(mklNumThreads,ompNumThreads)
162180
163181 prefix = "c2h6_cndo2"
164-testerOmp = TesterOmp.new(prefix, <<"TITLE")
182+tester = Tester.new(prefix, <<"TITLE")
165183 \t\t\t>>> C2H6 <<<
166184 TITLE
167185 mklNumThreads = "1"
168186 ompNumThreads = "1"
169-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
187+tester.doesTestOmp(mklNumThreads,ompNumThreads)
170188 mklNumThreads = "2"
171189 ompNumThreads = "2"
172-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
190+tester.doesTestOmp(mklNumThreads,ompNumThreads)
173191
174192 prefix = "h2s_cndo2"
175-testerOmp = TesterOmp.new(prefix, <<"TITLE")
193+tester = Tester.new(prefix, <<"TITLE")
176194 \t\t\t>>> H2S <<<
177195 TITLE
178196 mklNumThreads = "1"
179197 ompNumThreads = "1"
180-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
198+tester.doesTestOmp(mklNumThreads,ompNumThreads)
181199 mklNumThreads = "2"
182200 ompNumThreads = "2"
183-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
201+tester.doesTestOmp(mklNumThreads,ompNumThreads)
184202
185203 prefix = "ch4_indo"
186-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
204+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
187205 -------------------------------------------
188206 ---------- Test of INDO/HF -----------
189207 -------------------------------------------
@@ -192,24 +210,24 @@ SECTION
192210 TITLE
193211 mklNumThreads = "1"
194212 ompNumThreads = "1"
195-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
213+tester.doesTestOmp(mklNumThreads,ompNumThreads)
196214 mklNumThreads = "2"
197215 ompNumThreads = "2"
198-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
216+tester.doesTestOmp(mklNumThreads,ompNumThreads)
199217
200218 prefix = "c2h6_indo"
201-testerOmp = TesterOmp.new(prefix, <<"TITLE")
219+tester = Tester.new(prefix, <<"TITLE")
202220 \t\t\t>>> C2H6 <<<
203221 TITLE
204222 mklNumThreads = "1"
205223 ompNumThreads = "1"
206-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
224+tester.doesTestOmp(mklNumThreads,ompNumThreads)
207225 mklNumThreads = "2"
208226 ompNumThreads = "2"
209-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
227+tester.doesTestOmp(mklNumThreads,ompNumThreads)
210228
211229 prefix = "ch4_zindos_directCIS_singlet"
212-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
230+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
213231 ---------------------------------------------------
214232 ---------- Test of ZINDO/CIS-singlet ---------
215233 ---------- Without Davidson for the CIS ---------
@@ -219,46 +237,55 @@ SECTION
219237 TITLE
220238 mklNumThreads = "1"
221239 ompNumThreads = "1"
222-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
240+tester.doesTestOmp(mklNumThreads,ompNumThreads)
223241 mklNumThreads = "2"
224242 ompNumThreads = "2"
225-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
243+tester.doesTestOmp(mklNumThreads,ompNumThreads)
226244
227245 prefix = "c2h6_zindos_directCIS_singlet"
228-testerOmp = TesterOmp.new(prefix, <<"TITLE")
246+tester = Tester.new(prefix, <<"TITLE")
229247 \t\t\t>>> C2H6 <<<
230248 TITLE
231249 mklNumThreads = "1"
232250 ompNumThreads = "1"
233-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
251+tester.doesTestOmp(mklNumThreads,ompNumThreads)
234252 mklNumThreads = "2"
235253 ompNumThreads = "2"
236-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
254+tester.doesTestOmp(mklNumThreads,ompNumThreads)
255+mklNumThreads = "4"
256+ompNumThreads = "2"
257+tester.doesTestMpi(mklNumThreads,ompNumThreads)
237258
238259 prefix = "h2s_zindos_directCIS_singlet"
239-testerOmp = TesterOmp.new(prefix, <<"TITLE")
260+tester = Tester.new(prefix, <<"TITLE")
240261 \t\t\t>>> H2S <<<
241262 TITLE
242263 mklNumThreads = "1"
243264 ompNumThreads = "1"
244-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
265+tester.doesTestOmp(mklNumThreads,ompNumThreads)
245266 mklNumThreads = "2"
246267 ompNumThreads = "2"
247-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
268+tester.doesTestOmp(mklNumThreads,ompNumThreads)
269+mklNumThreads = "4"
270+ompNumThreads = "2"
271+tester.doesTestMpi(mklNumThreads,ompNumThreads)
248272
249273 prefix = "h2o_zindos_directCIS_singlet"
250-testerOmp = TesterOmp.new(prefix, <<"TITLE")
274+tester = Tester.new(prefix, <<"TITLE")
251275 \t\t\t>>> H2O <<<
252276 TITLE
253277 mklNumThreads = "1"
254278 ompNumThreads = "1"
255-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
279+tester.doesTestOmp(mklNumThreads,ompNumThreads)
256280 mklNumThreads = "2"
257281 ompNumThreads = "2"
258-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
282+tester.doesTestOmp(mklNumThreads,ompNumThreads)
283+mklNumThreads = "4"
284+ompNumThreads = "2"
285+tester.doesTestMpi(mklNumThreads,ompNumThreads)
259286
260287 prefix = "ch4_zindos_davidsonCIS_singlet"
261-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
288+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
262289 ------------------------------------------------
263290 ---------- Test of ZINDO/CIS-singlet ---------
264291 ---------- With Davidson for the CIS ---------
@@ -268,35 +295,44 @@ SECTION
268295 TITLE
269296 mklNumThreads = "1"
270297 ompNumThreads = "1"
271-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
298+tester.doesTestOmp(mklNumThreads,ompNumThreads)
272299 mklNumThreads = "2"
273300 ompNumThreads = "2"
274-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
301+tester.doesTestOmp(mklNumThreads,ompNumThreads)
302+mklNumThreads = "4"
303+ompNumThreads = "2"
304+tester.doesTestMpi(mklNumThreads,ompNumThreads)
275305
276306 prefix = "c2h6_zindos_davidsonCIS_singlet"
277-testerOmp = TesterOmp.new(prefix, <<"TITLE")
307+tester = Tester.new(prefix, <<"TITLE")
278308 \t\t\t>>> C2H6 <<<
279309 TITLE
280310 mklNumThreads = "1"
281311 ompNumThreads = "1"
282-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
312+tester.doesTestOmp(mklNumThreads,ompNumThreads)
283313 mklNumThreads = "2"
284314 ompNumThreads = "2"
285-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
315+tester.doesTestOmp(mklNumThreads,ompNumThreads)
316+mklNumThreads = "4"
317+ompNumThreads = "2"
318+tester.doesTestMpi(mklNumThreads,ompNumThreads)
286319
287320 prefix = "h2s_zindos_davidsonCIS_singlet"
288-testerOmp = TesterOmp.new(prefix, <<"TITLE")
321+tester = Tester.new(prefix, <<"TITLE")
289322 \t\t\t>>> H2S <<<
290323 TITLE
291324 mklNumThreads = "1"
292325 ompNumThreads = "1"
293-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
326+tester.doesTestOmp(mklNumThreads,ompNumThreads)
294327 mklNumThreads = "2"
295328 ompNumThreads = "2"
296-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
329+tester.doesTestOmp(mklNumThreads,ompNumThreads)
330+mklNumThreads = "4"
331+ompNumThreads = "2"
332+tester.doesTestMpi(mklNumThreads,ompNumThreads)
297333
298334 prefix = "c2h6_zindos_force"
299-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
335+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
300336 ------------------------------------------------
301337 ---------- Test of ZINDO/HF-Force ------------
302338 ------------------------------------------------
@@ -305,13 +341,13 @@ SECTION
305341 TITLE
306342 mklNumThreads = "1"
307343 ompNumThreads = "1"
308-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
344+tester.doesTestOmp(mklNumThreads,ompNumThreads)
309345 mklNumThreads = "2"
310346 ompNumThreads = "2"
311-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
347+tester.doesTestOmp(mklNumThreads,ompNumThreads)
312348
313349 prefix = "c2h6_zindos_directCIS_singlet_force"
314-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
350+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
315351 ---------------------------------------------------
316352 ---------- Test of ZINDO/CIS-singlet-force --------
317353 ---------- Without Davidson for the CIS --------
@@ -321,15 +357,18 @@ SECTION
321357 TITLE
322358 mklNumThreads = "1"
323359 ompNumThreads = "1"
324-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
360+tester.doesTestOmp(mklNumThreads,ompNumThreads)
325361 mklNumThreads = "2"
326362 ompNumThreads = "2"
327-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
363+tester.doesTestOmp(mklNumThreads,ompNumThreads)
364+mklNumThreads = "4"
365+ompNumThreads = "2"
366+tester.doesTestMpi(mklNumThreads,ompNumThreads)
328367
329368 prefix = "c2h6_mndo_davidsonCIS_singlet_force"
330-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
369+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
331370 prefix = "ch4_mndo"
332-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
371+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
333372 -------------------------------------------
334373 ---------- Test of MNDO/HF ----------
335374 -------------------------------------------
@@ -338,24 +377,24 @@ SECTION
338377 TITLE
339378 mklNumThreads = "1"
340379 ompNumThreads = "1"
341-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
380+tester.doesTestOmp(mklNumThreads,ompNumThreads)
342381 mklNumThreads = "2"
343382 ompNumThreads = "2"
344-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
383+tester.doesTestOmp(mklNumThreads,ompNumThreads)
345384
346385 prefix = "c2h6_mndo"
347-testerOmp = TesterOmp.new(prefix, <<"TITLE")
386+tester = Tester.new(prefix, <<"TITLE")
348387 \t\t\t>>> C2H6 <<<
349388 TITLE
350389 mklNumThreads = "1"
351390 ompNumThreads = "1"
352-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
391+tester.doesTestOmp(mklNumThreads,ompNumThreads)
353392 mklNumThreads = "2"
354393 ompNumThreads = "2"
355-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
394+tester.doesTestOmp(mklNumThreads,ompNumThreads)
356395
357396 prefix = "ch4_mndo_directCIS_singlet"
358-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
397+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
359398 ---------------------------------------------------
360399 ---------- Test of MNDO/CIS-singlet ---------
361400 ---------- Without Davidson for the CIS ---------
@@ -365,24 +404,30 @@ SECTION
365404 TITLE
366405 mklNumThreads = "1"
367406 ompNumThreads = "1"
368-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
407+tester.doesTestOmp(mklNumThreads,ompNumThreads)
369408 mklNumThreads = "2"
370409 ompNumThreads = "2"
371-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
410+tester.doesTestOmp(mklNumThreads,ompNumThreads)
411+mklNumThreads = "4"
412+ompNumThreads = "2"
413+tester.doesTestMpi(mklNumThreads,ompNumThreads)
372414
373415 prefix = "c2h6_mndo_directCIS_singlet"
374-testerOmp = TesterOmp.new(prefix, <<"TITLE")
416+tester = Tester.new(prefix, <<"TITLE")
375417 \t\t\t>>> C2H6 <<<
376418 TITLE
377419 mklNumThreads = "1"
378420 ompNumThreads = "1"
379-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
421+tester.doesTestOmp(mklNumThreads,ompNumThreads)
380422 mklNumThreads = "2"
381423 ompNumThreads = "2"
382-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
424+tester.doesTestOmp(mklNumThreads,ompNumThreads)
425+mklNumThreads = "4"
426+ompNumThreads = "2"
427+tester.doesTestMpi(mklNumThreads,ompNumThreads)
383428
384429 prefix = "ch4_mndo_davidsonCIS_singlet"
385-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
430+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
386431 ---------------------------------------------------
387432 ---------- Test of MNDO/CIS-singlet ---------
388433 ---------- With Davidson for the CIS ---------
@@ -392,24 +437,30 @@ SECTION
392437 TITLE
393438 mklNumThreads = "1"
394439 ompNumThreads = "1"
395-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
440+tester.doesTestOmp(mklNumThreads,ompNumThreads)
396441 mklNumThreads = "2"
397442 ompNumThreads = "2"
398-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
443+tester.doesTestOmp(mklNumThreads,ompNumThreads)
444+mklNumThreads = "4"
445+ompNumThreads = "2"
446+tester.doesTestMpi(mklNumThreads,ompNumThreads)
399447
400448 prefix = "c2h6_mndo_davidsonCIS_singlet"
401-testerOmp = TesterOmp.new(prefix, <<"TITLE")
449+tester = Tester.new(prefix, <<"TITLE")
402450 \t\t\t>>> C2H6 <<<
403451 TITLE
404452 mklNumThreads = "1"
405453 ompNumThreads = "1"
406-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
454+tester.doesTestOmp(mklNumThreads,ompNumThreads)
407455 mklNumThreads = "2"
408456 ompNumThreads = "2"
409-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
457+tester.doesTestOmp(mklNumThreads,ompNumThreads)
458+mklNumThreads = "4"
459+ompNumThreads = "2"
460+tester.doesTestMpi(mklNumThreads,ompNumThreads)
410461
411462 prefix = "c2h6_mndo_force"
412-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
463+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
413464 ------------------------------------------------
414465 ---------- Test of MNDO/HF-Force ------------
415466 ------------------------------------------------
@@ -418,13 +469,13 @@ SECTION
418469 TITLE
419470 mklNumThreads = "1"
420471 ompNumThreads = "1"
421-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
472+tester.doesTestOmp(mklNumThreads,ompNumThreads)
422473 mklNumThreads = "2"
423474 ompNumThreads = "2"
424-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
475+tester.doesTestOmp(mklNumThreads,ompNumThreads)
425476
426477 prefix = "c2h6_mndo_directCIS_singlet_force"
427-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
478+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
428479 ---------------------------------------------------
429480 ---------- Test of MNDO/CIS-singlet-force --------
430481 ---------- Without Davidson for the CIS --------
@@ -434,13 +485,16 @@ SECTION
434485 TITLE
435486 mklNumThreads = "1"
436487 ompNumThreads = "1"
437-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
488+tester.doesTestOmp(mklNumThreads,ompNumThreads)
438489 mklNumThreads = "2"
439490 ompNumThreads = "2"
440-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
491+tester.doesTestOmp(mklNumThreads,ompNumThreads)
492+mklNumThreads = "4"
493+ompNumThreads = "2"
494+tester.doesTestMpi(mklNumThreads,ompNumThreads)
441495
442496 prefix = "c2h6_mndo_davidsonCIS_singlet_force"
443-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
497+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
444498 ---------------------------------------------------
445499 ---------- Test of MNDO/CIS-singlet-force --------
446500 ---------- With Davidson for the CIS --------
@@ -450,13 +504,16 @@ SECTION
450504 TITLE
451505 mklNumThreads = "1"
452506 ompNumThreads = "1"
453-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
507+tester.doesTestOmp(mklNumThreads,ompNumThreads)
454508 mklNumThreads = "2"
455509 ompNumThreads = "2"
456-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
510+tester.doesTestOmp(mklNumThreads,ompNumThreads)
511+mklNumThreads = "4"
512+ompNumThreads = "2"
513+tester.doesTestMpi(mklNumThreads,ompNumThreads)
457514
458515 prefix = "ch4_am1"
459-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
516+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
460517 -------------------------------------------
461518 ---------- Test of AM1/HF ------------
462519 -------------------------------------------
@@ -465,24 +522,24 @@ SECTION
465522 TITLE
466523 mklNumThreads = "1"
467524 ompNumThreads = "1"
468-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
525+tester.doesTestOmp(mklNumThreads,ompNumThreads)
469526 mklNumThreads = "2"
470527 ompNumThreads = "2"
471-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
528+tester.doesTestOmp(mklNumThreads,ompNumThreads)
472529
473530 prefix = "c2h6_am1"
474-testerOmp = TesterOmp.new(prefix, <<"TITLE")
531+tester = Tester.new(prefix, <<"TITLE")
475532 \t\t\t>>> C2H6 <<<
476533 TITLE
477534 mklNumThreads = "1"
478535 ompNumThreads = "1"
479-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
536+tester.doesTestOmp(mklNumThreads,ompNumThreads)
480537 mklNumThreads = "2"
481538 ompNumThreads = "2"
482-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
539+tester.doesTestOmp(mklNumThreads,ompNumThreads)
483540
484541 prefix = "ch4_am1_directCIS_singlet"
485-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
542+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
486543 ---------------------------------------------------
487544 ---------- Test of AM1/CIS-singlet ---------
488545 ---------- Without Davidson for the CIS ---------
@@ -492,24 +549,30 @@ SECTION
492549 TITLE
493550 mklNumThreads = "1"
494551 ompNumThreads = "1"
495-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
552+tester.doesTestOmp(mklNumThreads,ompNumThreads)
496553 mklNumThreads = "2"
497554 ompNumThreads = "2"
498-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
555+tester.doesTestOmp(mklNumThreads,ompNumThreads)
556+mklNumThreads = "4"
557+ompNumThreads = "2"
558+tester.doesTestMpi(mklNumThreads,ompNumThreads)
499559
500560 prefix = "c2h6_am1_directCIS_singlet"
501-testerOmp = TesterOmp.new(prefix, <<"TITLE")
561+tester = Tester.new(prefix, <<"TITLE")
502562 \t\t\t>>> C2H6 <<<\n
503563 TITLE
504564 mklNumThreads = "1"
505565 ompNumThreads = "1"
506-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
566+tester.doesTestOmp(mklNumThreads,ompNumThreads)
507567 mklNumThreads = "2"
508568 ompNumThreads = "2"
509-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
569+tester.doesTestOmp(mklNumThreads,ompNumThreads)
570+mklNumThreads = "4"
571+ompNumThreads = "2"
572+tester.doesTestMpi(mklNumThreads,ompNumThreads)
510573
511574 prefix = "ch4_am1_davidsonCIS_singlet"
512-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
575+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
513576 ---------------------------------------------------
514577 ---------- Test of AM1/CIS-singlet ---------
515578 ---------- With Davidson for the CIS ---------
@@ -519,24 +582,30 @@ SECTION
519582 TITLE
520583 mklNumThreads = "1"
521584 ompNumThreads = "1"
522-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
585+tester.doesTestOmp(mklNumThreads,ompNumThreads)
523586 mklNumThreads = "2"
524587 ompNumThreads = "2"
525-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
588+tester.doesTestOmp(mklNumThreads,ompNumThreads)
589+mklNumThreads = "4"
590+ompNumThreads = "2"
591+tester.doesTestMpi(mklNumThreads,ompNumThreads)
526592
527593 prefix = "c2h6_am1_davidsonCIS_singlet"
528-testerOmp = TesterOmp.new(prefix, <<"TITLE")
594+tester = Tester.new(prefix, <<"TITLE")
529595 \t\t\t>>> C2H6 <<<
530596 TITLE
531597 mklNumThreads = "1"
532598 ompNumThreads = "1"
533-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
599+tester.doesTestOmp(mklNumThreads,ompNumThreads)
534600 mklNumThreads = "2"
535601 ompNumThreads = "2"
536-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
602+tester.doesTestOmp(mklNumThreads,ompNumThreads)
603+mklNumThreads = "4"
604+ompNumThreads = "2"
605+tester.doesTestMpi(mklNumThreads,ompNumThreads)
537606
538607 prefix = "c2h6_am1_force"
539-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
608+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
540609 ------------------------------------------------
541610 ---------- Test of AM1/HF-Force ------------
542611 ------------------------------------------------
@@ -545,13 +614,13 @@ SECTION
545614 TITLE
546615 mklNumThreads = "1"
547616 ompNumThreads = "1"
548-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
617+tester.doesTestOmp(mklNumThreads,ompNumThreads)
549618 mklNumThreads = "2"
550619 ompNumThreads = "2"
551-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
620+tester.doesTestOmp(mklNumThreads,ompNumThreads)
552621
553622 prefix = "c2h6_am1_directCIS_singlet_force"
554-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
623+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
555624 ---------------------------------------------------
556625 ---------- Test of AM1/CIS-singlet-force --------
557626 ---------- Without Davidson for the CIS --------
@@ -561,13 +630,16 @@ SECTION
561630 TITLE
562631 mklNumThreads = "1"
563632 ompNumThreads = "1"
564-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
633+tester.doesTestOmp(mklNumThreads,ompNumThreads)
565634 mklNumThreads = "2"
566635 ompNumThreads = "2"
567-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
636+tester.doesTestOmp(mklNumThreads,ompNumThreads)
637+mklNumThreads = "4"
638+ompNumThreads = "2"
639+tester.doesTestMpi(mklNumThreads,ompNumThreads)
568640
569641 prefix = "c2h6_am1_davidsonCIS_singlet_force"
570-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
642+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
571643 ---------------------------------------------------
572644 ---------- Test of AM1/CIS-singlet-force --------
573645 ---------- With Davidson for the CIS --------
@@ -577,13 +649,16 @@ SECTION
577649 TITLE
578650 mklNumThreads = "1"
579651 ompNumThreads = "1"
580-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
652+tester.doesTestOmp(mklNumThreads,ompNumThreads)
581653 mklNumThreads = "2"
582654 ompNumThreads = "2"
583-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
655+tester.doesTestOmp(mklNumThreads,ompNumThreads)
656+mklNumThreads = "4"
657+ompNumThreads = "2"
658+tester.doesTestMpi(mklNumThreads,ompNumThreads)
584659
585660 prefix = "ch4_pm3"
586-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
661+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
587662 -------------------------------------------
588663 ---------- Test of PM3/HF ------------
589664 -------------------------------------------
@@ -592,24 +667,24 @@ SECTION
592667 TITLE
593668 mklNumThreads = "1"
594669 ompNumThreads = "1"
595-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
670+tester.doesTestOmp(mklNumThreads,ompNumThreads)
596671 mklNumThreads = "2"
597672 ompNumThreads = "2"
598-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
673+tester.doesTestOmp(mklNumThreads,ompNumThreads)
599674
600675 prefix = "c2h6_pm3"
601-testerOmp = TesterOmp.new(prefix, <<"TITLE")
676+tester = Tester.new(prefix, <<"TITLE")
602677 \t\t\t>>> C2H6 <<<
603678 TITLE
604679 mklNumThreads = "1"
605680 ompNumThreads = "1"
606-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
681+tester.doesTestOmp(mklNumThreads,ompNumThreads)
607682 mklNumThreads = "2"
608683 ompNumThreads = "2"
609-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
684+tester.doesTestOmp(mklNumThreads,ompNumThreads)
610685
611686 prefix = "ch4_pm3_directCIS_singlet"
612-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
687+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
613688 ---------------------------------------------------
614689 ---------- Test of PM3/CIS-singlet ---------
615690 ---------- Without Davidson for the CIS ---------
@@ -619,24 +694,30 @@ SECTION
619694 TITLE
620695 mklNumThreads = "1"
621696 ompNumThreads = "1"
622-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
697+tester.doesTestOmp(mklNumThreads,ompNumThreads)
623698 mklNumThreads = "2"
624699 ompNumThreads = "2"
625-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
700+tester.doesTestOmp(mklNumThreads,ompNumThreads)
701+mklNumThreads = "4"
702+ompNumThreads = "2"
703+tester.doesTestMpi(mklNumThreads,ompNumThreads)
626704
627705 prefix = "c2h6_pm3_directCIS_singlet"
628-testerOmp = TesterOmp.new(prefix, <<"TITLE")
706+tester = Tester.new(prefix, <<"TITLE")
629707 \t\t\t>>> C2H6 <<<
630708 TITLE
631709 mklNumThreads = "1"
632710 ompNumThreads = "1"
633-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
711+tester.doesTestOmp(mklNumThreads,ompNumThreads)
634712 mklNumThreads = "2"
635713 ompNumThreads = "2"
636-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
714+tester.doesTestOmp(mklNumThreads,ompNumThreads)
715+mklNumThreads = "4"
716+ompNumThreads = "2"
717+tester.doesTestMpi(mklNumThreads,ompNumThreads)
637718
638719 prefix = "ch4_pm3_davidsonCIS_singlet"
639-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
720+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
640721 ---------------------------------------------------
641722 ---------- Test of PM3/CIS-singlet ---------
642723 ---------- With Davidson for the CIS ---------
@@ -646,24 +727,30 @@ SECTION
646727 TITLE
647728 mklNumThreads = "1"
648729 ompNumThreads = "1"
649-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
730+tester.doesTestOmp(mklNumThreads,ompNumThreads)
650731 mklNumThreads = "2"
651732 ompNumThreads = "2"
652-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
733+tester.doesTestOmp(mklNumThreads,ompNumThreads)
734+mklNumThreads = "4"
735+ompNumThreads = "2"
736+tester.doesTestMpi(mklNumThreads,ompNumThreads)
653737
654738 prefix = "c2h6_pm3_davidsonCIS_singlet"
655-testerOmp = TesterOmp.new(prefix, <<"TITLE")
739+tester = Tester.new(prefix, <<"TITLE")
656740 \t\t\t>>> C2H6 <<<\n
657741 TITLE
658742 mklNumThreads = "1"
659743 ompNumThreads = "1"
660-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
744+tester.doesTestOmp(mklNumThreads,ompNumThreads)
661745 mklNumThreads = "2"
662746 ompNumThreads = "2"
663-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
747+tester.doesTestOmp(mklNumThreads,ompNumThreads)
748+mklNumThreads = "4"
749+ompNumThreads = "2"
750+tester.doesTestMpi(mklNumThreads,ompNumThreads)
664751
665752 prefix = "c2h6_pm3_force"
666-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
753+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
667754 ------------------------------------------------
668755 ---------- Test of PM3/HF-Force --------------
669756 ------------------------------------------------
@@ -672,13 +759,13 @@ SECTION
672759 TITLE
673760 mklNumThreads = "1"
674761 ompNumThreads = "1"
675-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
762+tester.doesTestOmp(mklNumThreads,ompNumThreads)
676763 mklNumThreads = "2"
677764 ompNumThreads = "2"
678-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
765+tester.doesTestOmp(mklNumThreads,ompNumThreads)
679766
680767 prefix = "c2h6_pm3_directCIS_singlet_force"
681-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
768+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
682769 ---------------------------------------------------
683770 ---------- Test of PM3/CIS-singlet-force --------
684771 ---------- Without Davidson for the CIS --------
@@ -688,13 +775,16 @@ SECTION
688775 TITLE
689776 mklNumThreads = "1"
690777 ompNumThreads = "1"
691-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
778+tester.doesTestOmp(mklNumThreads,ompNumThreads)
692779 mklNumThreads = "2"
693780 ompNumThreads = "2"
694-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
781+tester.doesTestOmp(mklNumThreads,ompNumThreads)
782+mklNumThreads = "4"
783+ompNumThreads = "2"
784+tester.doesTestMpi(mklNumThreads,ompNumThreads)
695785
696786 prefix = "c2h6_pm3_davidsonCIS_singlet_force"
697-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
787+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
698788 ---------------------------------------------------
699789 ---------- Test of PM3/CIS-singlet-force --------
700790 ---------- With Davidson for the CIS --------
@@ -704,13 +794,16 @@ SECTION
704794 TITLE
705795 mklNumThreads = "1"
706796 ompNumThreads = "1"
707-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
797+tester.doesTestOmp(mklNumThreads,ompNumThreads)
708798 mklNumThreads = "2"
709799 ompNumThreads = "2"
710-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
800+tester.doesTestOmp(mklNumThreads,ompNumThreads)
801+mklNumThreads = "4"
802+ompNumThreads = "2"
803+tester.doesTestMpi(mklNumThreads,ompNumThreads)
711804
712805 prefix = "c2h6_pm3pddg"
713-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
806+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
714807 -------------------------------------------
715808 ---------- Test of PM3/PDDG/HF ------------
716809 -------------------------------------------
@@ -719,13 +812,13 @@ SECTION
719812 TITLE
720813 mklNumThreads = "1"
721814 ompNumThreads = "1"
722-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
815+tester.doesTestOmp(mklNumThreads,ompNumThreads)
723816 mklNumThreads = "2"
724817 ompNumThreads = "2"
725-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
818+tester.doesTestOmp(mklNumThreads,ompNumThreads)
726819
727820 prefix = "c2h6_pm3pddg_directCIS_singlet"
728-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
821+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
729822 ---------------------------------------------------
730823 ---------- Test of PM3/PDDG/CIS-singlet ---------
731824 ---------- Without Davidson for the CIS ---------
@@ -735,13 +828,16 @@ SECTION
735828 TITLE
736829 mklNumThreads = "1"
737830 ompNumThreads = "1"
738-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
831+tester.doesTestOmp(mklNumThreads,ompNumThreads)
739832 mklNumThreads = "2"
740833 ompNumThreads = "2"
741-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
834+tester.doesTestOmp(mklNumThreads,ompNumThreads)
835+mklNumThreads = "4"
836+ompNumThreads = "2"
837+tester.doesTestMpi(mklNumThreads,ompNumThreads)
742838
743839 prefix = "c2h6_pm3pddg_davidsonCIS_singlet"
744-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
840+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
745841 ---------------------------------------------------
746842 ---------- Test of PM3/PDDG/CIS-singlet ---------
747843 ---------- With Davidson for the CIS ---------
@@ -751,13 +847,16 @@ SECTION
751847 TITLE
752848 mklNumThreads = "1"
753849 ompNumThreads = "1"
754-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
850+tester.doesTestOmp(mklNumThreads,ompNumThreads)
755851 mklNumThreads = "2"
756852 ompNumThreads = "2"
757-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
853+tester.doesTestOmp(mklNumThreads,ompNumThreads)
854+mklNumThreads = "4"
855+ompNumThreads = "2"
856+tester.doesTestMpi(mklNumThreads,ompNumThreads)
758857
759858 prefix = "c2h6_pm3pddg_force"
760-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
859+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
761860 ------------------------------------------------
762861 ---------- Test of PM3/PDDG/HF-Force ---------
763862 ------------------------------------------------
@@ -766,13 +865,13 @@ SECTION
766865 TITLE
767866 mklNumThreads = "1"
768867 ompNumThreads = "1"
769-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
868+tester.doesTestOmp(mklNumThreads,ompNumThreads)
770869 mklNumThreads = "2"
771870 ompNumThreads = "2"
772-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
871+tester.doesTestOmp(mklNumThreads,ompNumThreads)
773872
774873 prefix = "c2h6_pm3pddg_directCIS_singlet_force"
775-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
874+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
776875 ---------------------------------------------------
777876 --------- Test of PM3/PDDG/CIS-singlet-force ----
778877 --------- Without Davidson for the CIS --------
@@ -782,13 +881,16 @@ SECTION
782881 TITLE
783882 mklNumThreads = "1"
784883 ompNumThreads = "1"
785-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
884+tester.doesTestOmp(mklNumThreads,ompNumThreads)
786885 mklNumThreads = "2"
787886 ompNumThreads = "2"
788-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
887+tester.doesTestOmp(mklNumThreads,ompNumThreads)
888+mklNumThreads = "4"
889+ompNumThreads = "2"
890+tester.doesTestMpi(mklNumThreads,ompNumThreads)
789891
790892 prefix = "c2h6_pm3pddg_davidsonCIS_singlet_force"
791-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
893+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
792894 ---------------------------------------------------
793895 --------- Test of PM3/PDDG/CIS-singlet-force ----
794896 --------- With Davidson for the CIS --------
@@ -798,13 +900,16 @@ SECTION
798900 TITLE
799901 mklNumThreads = "1"
800902 ompNumThreads = "1"
801-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
903+tester.doesTestOmp(mklNumThreads,ompNumThreads)
802904 mklNumThreads = "2"
803905 ompNumThreads = "2"
804-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
906+tester.doesTestOmp(mklNumThreads,ompNumThreads)
907+mklNumThreads = "4"
908+ompNumThreads = "2"
909+tester.doesTestMpi(mklNumThreads,ompNumThreads)
805910
806911 prefix = "c2h6_pm3pddg_opt_steepest"
807-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
912+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
808913 ------------------------------------------------
809914 ------ Test of PM3/PDDG/Steepest Descent ------
810915 ------------------------------------------------
@@ -813,13 +918,13 @@ SECTION
813918 TITLE
814919 mklNumThreads = "1"
815920 ompNumThreads = "1"
816-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
921+tester.doesTestOmp(mklNumThreads,ompNumThreads)
817922 mklNumThreads = "2"
818923 ompNumThreads = "2"
819-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
924+tester.doesTestOmp(mklNumThreads,ompNumThreads)
820925
821926 prefix = "c2h6_pm3pddg_opt_conjugate"
822-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
927+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
823928 ------------------------------------------------
824929 ---- Test of PM3/PDDG/Conjugate gradient ------
825930 ------------------------------------------------
@@ -828,13 +933,13 @@ SECTION
828933 TITLE
829934 mklNumThreads = "1"
830935 ompNumThreads = "1"
831-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
936+tester.doesTestOmp(mklNumThreads,ompNumThreads)
832937 mklNumThreads = "2"
833938 ompNumThreads = "2"
834-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
939+tester.doesTestOmp(mklNumThreads,ompNumThreads)
835940
836941 prefix = "c2h6_pm3pddg_opt_bfgs"
837-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
942+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
838943 ------------------------------------------------
839944 ------ Test of PM3/PDDG/BFGS ------------------
840945 ------------------------------------------------
@@ -843,13 +948,13 @@ SECTION
843948 TITLE
844949 mklNumThreads = "1"
845950 ompNumThreads = "1"
846-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
951+tester.doesTestOmp(mklNumThreads,ompNumThreads)
847952 mklNumThreads = "2"
848953 ompNumThreads = "2"
849-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
954+tester.doesTestOmp(mklNumThreads,ompNumThreads)
850955
851956 prefix = "c2h6_pm3_MC"
852-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
957+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
853958 ---------------------------------------------------
854959 --------- Test of PM3/HF-MC ---------------------
855960 ---------------------------------------------------
@@ -858,13 +963,13 @@ SECTION
858963 TITLE
859964 mklNumThreads = "1"
860965 ompNumThreads = "1"
861-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
966+tester.doesTestOmp(mklNumThreads,ompNumThreads)
862967 mklNumThreads = "2"
863968 ompNumThreads = "2"
864-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
969+tester.doesTestOmp(mklNumThreads,ompNumThreads)
865970
866971 prefix = "c2h6_pm3_directCIS_singlet_MC"
867-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
972+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
868973 ---------------------------------------------------
869974 --------- Test of PM3/CIS-singlet-MC ----------
870975 --------- Without Davidson for the CIS ----------
@@ -874,13 +979,16 @@ SECTION
874979 TITLE
875980 mklNumThreads = "1"
876981 ompNumThreads = "1"
877-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
982+tester.doesTestOmp(mklNumThreads,ompNumThreads)
878983 mklNumThreads = "2"
879984 ompNumThreads = "2"
880-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
985+tester.doesTestOmp(mklNumThreads,ompNumThreads)
986+mklNumThreads = "4"
987+ompNumThreads = "2"
988+tester.doesTestMpi(mklNumThreads,ompNumThreads)
881989
882990 prefix = "c2h6_pm3pddg_rpmd"
883-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
991+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
884992 ------------------------------------------------
885993 ---------- Test of PM3/PDDG/RPMD -------------
886994 ------------------------------------------------
@@ -889,13 +997,13 @@ SECTION
889997 TITLE
890998 mklNumThreads = "1"
891999 ompNumThreads = "1"
892-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1000+tester.doesTestOmp(mklNumThreads,ompNumThreads)
8931001 mklNumThreads = "2"
8941002 ompNumThreads = "2"
895-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1003+tester.doesTestOmp(mklNumThreads,ompNumThreads)
8961004
8971005 prefix = "c2h6_pm3pddg_davidsonCIS_singlet_rpmd"
898-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1006+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
8991007 ---------------------------------------------------
9001008 --------- Test of PM3/PDDG/CIS/RPMD ---------
9011009 --------- With Davidson for the CIS ---------
@@ -905,13 +1013,16 @@ SECTION
9051013 TITLE
9061014 mklNumThreads = "1"
9071015 ompNumThreads = "1"
908-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1016+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9091017 mklNumThreads = "2"
9101018 ompNumThreads = "2"
911-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1019+tester.doesTestOmp(mklNumThreads,ompNumThreads)
1020+mklNumThreads = "4"
1021+ompNumThreads = "2"
1022+tester.doesTestMpi(mklNumThreads,ompNumThreads)
9121023
9131024 prefix = "c2h6_pm3d"
914-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1025+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
9151026 -------------------------------------------
9161027 ------------ Test of PM3-D/HF -------------
9171028 -------------------------------------------
@@ -921,13 +1032,13 @@ TITLE
9211032
9221033 mklNumThreads = "1"
9231034 ompNumThreads = "1"
924-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1035+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9251036 mklNumThreads = "2"
9261037 ompNumThreads = "2"
927-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1038+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9281039
9291040 prefix = "c2h6_pm3_vdw"
930-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1041+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
9311042 ---------------------------------------------------
9321043 ------ Test of vdw correction in PM3/HF ---------
9331044 ---------------------------------------------------
@@ -936,13 +1047,13 @@ SECTION
9361047 TITLE
9371048 mklNumThreads = "1"
9381049 ompNumThreads = "1"
939-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1050+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9401051 mklNumThreads = "2"
9411052 ompNumThreads = "2"
942-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1053+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9431054
9441055 prefix = "c2h6_pm3_vdw_force"
945-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1056+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
9461057 ---------------------------------------------------
9471058 ---- Test of vdw correction in PM3/HF-Force -----
9481059 ---------------------------------------------------
@@ -951,13 +1062,13 @@ SECTION
9511062 TITLE
9521063 mklNumThreads = "1"
9531064 ompNumThreads = "1"
954-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1065+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9551066 mklNumThreads = "2"
9561067 ompNumThreads = "2"
957-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1068+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9581069
9591070 prefix = "c2h6_pm3_vdw_MC"
960-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1071+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
9611072 ---------------------------------------------------
9621073 ------ Test of vdw correction in PM3/HF-MC ------
9631074 ---------------------------------------------------
@@ -966,13 +1077,13 @@ SECTION
9661077 TITLE
9671078 mklNumThreads = "1"
9681079 ompNumThreads = "1"
969-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1080+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9701081 mklNumThreads = "2"
9711082 ompNumThreads = "2"
972-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1083+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9731084
9741085 prefix = "c2h6-h2o-cluster_pm3pddg_freq"
975-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1086+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
9761087 -------------------------------------------
9771088 ---- Test of PM3/PDDG/HF/FREQUENCIES ---
9781089 -------------------------------------------
@@ -981,13 +1092,13 @@ SECTION
9811092 TITLE
9821093 mklNumThreads = "1"
9831094 ompNumThreads = "1"
984-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1095+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9851096 mklNumThreads = "2"
9861097 ompNumThreads = "2"
987-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1098+tester.doesTestOmp(mklNumThreads,ompNumThreads)
9881099
9891100 prefix = "c2h6-nh3-cluster_pm3d_freq"
990-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1101+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
9911102 -------------------------------------------
9921103 ----- Test of PM3-D/HF/FREQUENCIES ----
9931104 -------------------------------------------
@@ -996,13 +1107,13 @@ SECTION
9961107 TITLE
9971108 mklNumThreads = "1"
9981109 ompNumThreads = "1"
999-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1110+tester.doesTestOmp(mklNumThreads,ompNumThreads)
10001111 mklNumThreads = "2"
10011112 ompNumThreads = "2"
1002-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1113+tester.doesTestOmp(mklNumThreads,ompNumThreads)
10031114
10041115 prefix = "c2h6_mndo_directCIS_singlet_force_heap_limit"
1005-testerOmp = TesterOmp.new(prefix, <<"SECTION", <<"TITLE")
1116+tester = Tester.new(prefix, <<"SECTION", <<"TITLE")
10061117 ---------------------------------------------------
10071118 ----------- Test of limitation of Heap ----------
10081119 ---------------------------------------------------
@@ -1011,10 +1122,10 @@ SECTION
10111122 TITLE
10121123 mklNumThreads = "1"
10131124 ompNumThreads = "1"
1014-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1125+tester.doesTestOmp(mklNumThreads,ompNumThreads)
10151126 mklNumThreads = "2"
10161127 ompNumThreads = "2"
1017-testerOmp.doesTestOmp(mklNumThreads,ompNumThreads)
1128+tester.doesTestOmp(mklNumThreads,ompNumThreads)
10181129
10191130
10201131