Bridge++  Ver. 1.3.x
run_test.cpp
Go to the documentation of this file.
1 /*
2  @file $Id: run_test.cpp #$
3 
4  @brief
5 
6  @author Tatsumi Aoyama <aoym@post.kek.jp> (aoym)
7  $LastChangedBy: sueda $
8 
9  @date $LastChangedDate: 2013-04-08 18:00:27 #$
10 
11  @version $LastChangedRevision: 1272 $
12 */
13 
14 #include "main.h"
15 #include "testlist.h"
16 
17 //====================================================================
18 int run_test()
19 {
20  //- put your exec test here
21 
22 #ifdef USE_TEST_RANDOMNUMBERS
27 
31 
32 #ifdef USE_SFMTLIB
36 #endif
37 #endif
38 
39 
40 #if defined(USE_GROUP_SU2)
41  // Nc=2 is not available.
42 #else
43 #ifdef USE_TEST_EIGENSOLVER
46 
48 #endif
49 
50 #ifdef USE_TEST_GAUGE
53 #endif
54 
55 #ifdef USE_TEST_GRADIENTFLOW
57 #endif
58 
59 #ifdef USE_TEST_HMC
64 
67 
70 
73 
76 #endif
77 
78 #ifdef USE_TEST_HOTSTART
82 #endif
83 
84 #ifdef USE_TEST_IO
86 
91 #ifdef USE_LIMELIB
94 #endif
95 #endif
96 
97 #ifdef USE_TEST_MULT
101  //- NB. Fopr_Clover_SF is implemented only in Chiral rep.
102  // Test_Mult::mult_Clover_SF();
103  //- NB. test_Mult_Wilson is implemented separately for beginners
104  // Test_Mult::mult_Wilson();
107  //- NB. Fopr_Wilson_SF is implemented only in Chiral rep.
108  // Test_Mult::mult_Wilson_SF();
109 
111 #endif
112 
113 #ifdef USE_TEST_POLYAKOVLOOP
115 #endif
116 
117 #ifdef USE_TEST_QUARKNUMSUSCEPT
119 #endif
120 
121 #ifdef USE_TEST_RATIONAL
125 #endif
126 
127 #ifdef USE_TEST_SF_FAFP
128 #if defined(USE_OPENMP)
129  // multithreading yet unsupported.
130 #else
132 #endif
133 #endif
134 
135 #ifdef USE_TEST_SHIFTSOLVER
137 #endif
138 
139 #ifdef USE_TEST_SPECTRUM
142  //- NB. test_Spectrum_Wilson is implemented separately for beginners
143  // Test_Spectrum::hadron_2ptFunction_Wilson();
145 
147  //- NB. test_Spectrum_Wilson is implemented separately for beginners
148  // Test_Spectrum::hadron_2ptFunction_Wilson_eo_withFileIO();
149 
152  //- NB. test_Spectrum_Wilson is implemented separately for beginners
153  // Test_Spectrum::hadron_2ptFunction_withFileIO_Wilson();
155 
157  //- NB. test_Spectrum_Wilson is implemented separately for beginners
158  // Test_Spectrum::hadron_2ptFunction_Wilson_eo();
159 
161 
162 #ifdef USE_MPI
163  // these tests run only in single-node environment.
164 #else
165  //- NB. CRS tests are skipped, because they are time-consuming.
166  // Test_Spectrum_CRSMatrix::clover_lex();
167 #endif
168 #endif
169 
170 #ifdef USE_TEST_TOPOLOGICALCHARGE
172 #endif
173 
174 #ifdef USE_TEST_WILSONLOOP
176 #endif
177 
178 //- #endif of #if defined(USE_GROUP_SU2)
179 #endif
180 
181  return 0;
182 }
int shift(void)
int mult_Wilson_Isochemical()
Definition: test_Mult.cpp:100
int run_test()
Definition: run_test.cpp:18
int mult_Wilson_General()
Definition: test_Mult.cpp:94
int mult_Clover_Isochemical()
Definition: test_Mult.cpp:75
int test_io_data_text(void)
int mult_Clover()
Definition: test_Mult.cpp:63
int mult_Clover_General()
Definition: test_Mult.cpp:69