Skip to content

Fix: add the print header for cusolvermp in scf info #6038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions source/module_elecstate/elecstate_print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ void print_scf_iterinfo(const std::string& ks_solver,
{"scalapack_gvx", "GV"},
{"cusolver", "CU"},
{"bpcg", "BP"},
{"pexsi", "PE"}}; // I change the key of "cg_in_lcao" to "CG" because all the other are only two letters
{"pexsi", "PE"},
{"cusolvermp", "CM"}}; // I change the key of "cg_in_lcao" to "CG" because all the other are only two letters
// ITER column
std::vector<std::string> th_fmt = {" %-" + std::to_string(witer) + "s"}; // table header: th: ITER
std::vector<std::string> td_fmt
Expand Down Expand Up @@ -485,4 +486,4 @@ void print_format(const std::string& name, const double& value)
GlobalV::ofs_running << std::resetiosflags(std::ios::showpos);
return;
}
} // namespace elecstate
} // namespace elecstate
Loading