Skip to content

Commit 30ceb6d

Browse files
kirk0830dyzheng
authored andcommitted
Fix: add the print header for cusolvermp in scf info (deepmodeling#6038)
1 parent 9f0d72d commit 30ceb6d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/module_elecstate/elecstate_print.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ void print_scf_iterinfo(const std::string& ks_solver,
5858
{"scalapack_gvx", "GV"},
5959
{"cusolver", "CU"},
6060
{"bpcg", "BP"},
61-
{"pexsi", "PE"}}; // I change the key of "cg_in_lcao" to "CG" because all the other are only two letters
61+
{"pexsi", "PE"},
62+
{"cusolvermp", "CM"}}; // I change the key of "cg_in_lcao" to "CG" because all the other are only two letters
6263
// ITER column
6364
std::vector<std::string> th_fmt = {" %-" + std::to_string(witer) + "s"}; // table header: th: ITER
6465
std::vector<std::string> td_fmt
@@ -477,4 +478,4 @@ void ElecState::print_format(const std::string& name, const double& value)
477478
GlobalV::ofs_running << std::resetiosflags(std::ios::showpos);
478479
return;
479480
}
480-
} // namespace elecstate
481+
} // namespace elecstate

0 commit comments

Comments
 (0)