Skip to content

Commit 28f74f0

Browse files
committed
Add parameter reduce_all_pool to control reduce behavior
1 parent f352993 commit 28f74f0

File tree

7 files changed

+559
-554
lines changed

7 files changed

+559
-554
lines changed

source/module_elecstate/module_charge/symmetry_rho.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void Symmetry_rho::psymm(double* rho_part,
9797
rhotot.resize(rho_basis->nxyz);
9898
ModuleBase::GlobalFunc::ZEROS(rhotot.data(), rho_basis->nxyz);
9999
}
100-
Pgrid.reduce(rhotot.data(), rho_part);
100+
Pgrid.reduce(rhotot.data(), rho_part, false);
101101

102102
// (2)
103103
if (GlobalV::MY_RANK == 0)

0 commit comments

Comments
 (0)