abacusmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
GNU Lesser General Public License v3.0
154 stars 154 forks source link

Fix: several bugs exceeded the upper limit of int when calculating large systems #294

Closed PeizeLin closed 9 months ago

PeizeLin commented 9 months ago
  1. Local_Orbital_Charge::allocate_gamma()
  2. HamiltLCAO::HamiltLCAO()
  3. ELPA_Solver::allocate_work()
  4. ELPA_Solver::decomposeRightMatrix()
  5. ELPA_Solver::verify()
  6. Psi::resize()
  7. Psi::size()

As shown in issue #3219, large systems with few processes exceed the upper limit of int. There are still bugs unfixed in codes, such as class Parallel_Orbitals.

Reminder

Linked Issue

Fix #...

What's changed?

Any changes of core modules? (ignore if not applicable)