Skip to content

Commit

Permalink
Merge branch 'lattice:develop' into add_use_smeared_gauge
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmorningstar10 authored Dec 18, 2024
2 parents 1324adb + 2a7fa0f commit 0b118fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/invert_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,10 @@ int main(int argc, char **argv)
if (quda::comm_rank() != 0) { delete listeners.Release(listeners.default_result_printer()); }
result = RUN_ALL_TESTS();
} else {
solve(test_t {prec, prec_sloppy, inv_type, solution_type, solve_type, multishift, solution_accumulator_pipeline,
schwarz_t {precon_schwarz_type, inv_multigrid ? QUDA_MG_INVERTER : precon_type, prec_precondition},
inv_param.residual_type});
for (int rep = 0; rep < nrepeat; rep++)
solve(test_t {prec, prec_sloppy, inv_type, solution_type, solve_type, multishift, solution_accumulator_pipeline,
schwarz_t {precon_schwarz_type, inv_multigrid ? QUDA_MG_INVERTER : precon_type, prec_precondition},
inv_param.residual_type});
}

// finalize the QUDA library
Expand Down
2 changes: 2 additions & 0 deletions tests/utils/command_line_params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ int Msrc = 1;
int Nsrc_tile = 1;
int Msrc_tile = 1;
int niter = 100;
int nrepeat = 1;
int maxiter_precondition = 10;
QudaVerbosity verbosity_precondition = QUDA_SUMMARIZE;
int gcrNkrylov = 8;
Expand Down Expand Up @@ -604,6 +605,7 @@ std::shared_ptr<QUDAApp> make_app(std::string app_description, std::string app_n
quda_app->add_option("--ngcrkrylov", gcrNkrylov,
"The number of inner iterations to use for GCR, BiCGstab-l, CA-CG, CA-GCR (default 8)");
quda_app->add_option("--niter", niter, "The number of iterations to perform (default 100)");
quda_app->add_option("--nrepeat", nrepeat, "The number of times to repeat the test (default 1)");
quda_app->add_option("--max-res-increase", max_res_increase,
"The number of consecutive true residual incrases allowed (default 1)");
quda_app->add_option("--max-res-increase-total", max_res_increase_total,
Expand Down
1 change: 1 addition & 0 deletions tests/utils/command_line_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ extern int Msrc;
extern int Nsrc_tile;
extern int Msrc_tile;
extern int niter;
extern int nrepeat;
extern int maxiter_precondition;
extern QudaVerbosity verbosity_precondition;
extern int gcrNkrylov;
Expand Down

0 comments on commit 0b118fa

Please sign in to comment.