From b5ce94d2e621b251c68850cd173a87c084228db7 Mon Sep 17 00:00:00 2001 From: Marcogarofalo Date: Thu, 6 Feb 2025 17:21:38 +0100 Subject: [PATCH] add mg_param->n_vec_batch[level] --- quda_interface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quda_interface.c b/quda_interface.c index 7c330bc19..e4cbe0cb6 100644 --- a/quda_interface.c +++ b/quda_interface.c @@ -2096,6 +2096,8 @@ void _setQudaMultigridParam(QudaMultigridParam* mg_param) { mg_param->smoother_solver_ca_lambda_min[level] = quda_input.mg_smoother_solver_ca_lambda_min[level]; mg_param->smoother_solver_ca_lambda_max[level] = quda_input.mg_smoother_solver_ca_lambda_max[level]; + // this is needed after QUDA commit https://github.com/lattice/quda/commit/7903288629f0fcc474989fec5a1393ecc17a4b42 + mg_param->n_vec_batch[level] = 1; // set the MG EigSolver parameters, almost equivalent to // setEigParam from QUDA's multigrid_invert_test, except @@ -2162,6 +2164,8 @@ void _setQudaMultigridParam(QudaMultigridParam* mg_param) { mg_param->run_oblique_proj_check = quda_input.mg_run_oblique_proj_check; mg_param->run_verify = quda_input.mg_run_verify; + + // set file i/o parameters strcpy(mg_param->vec_infile, ""); strcpy(mg_param->vec_outfile, "");