Skip to content

Add subspace diagonalization for orthogonal input#6539

Closed
Cstandardlib wants to merge 23 commits into
deepmodeling:developfrom
Cstandardlib:perf/cg-diag_sub
Closed

Add subspace diagonalization for orthogonal input#6539
Cstandardlib wants to merge 23 commits into
deepmodeling:developfrom
Cstandardlib:perf/cg-diag_sub

Conversation

@Cstandardlib

@Cstandardlib Cstandardlib commented Sep 27, 2025

Copy link
Copy Markdown
Collaborator

Linked Issue

Fix #5615

Description

  • diagH_subspace is used in hsolver to do a diagonalization in the subspace spanned by given psi vectors.
  • When input vectors are orthogonal, there is no need to do the overlap and solve generalized eigenvalue problems.
  • Add a parameter to support this procedure without assigning and calculating overlap block.

@Cstandardlib Cstandardlib marked this pull request as ready for review September 27, 2025 17:38
Comment thread python/pyabacus/src/hsolver/py_diago_cg.hpp
Comment thread source/source_hsolver/diago_iter_assist.cpp Outdated
Comment thread source/source_hsolver/diago_iter_assist.h Outdated
Comment thread source/source_hsolver/kernels/dngvd_op.h Outdated
@mohanchen mohanchen self-requested a review September 29, 2025 05:46
Cstandardlib and others added 9 commits September 29, 2025 15:45
…eling#6548)

* Use new mtblas library

* Update annotations

* Modify fft
* Rename dngvd to hegvd, add comment & docs

* Update hegvd_op docs

* Rename source files

* Change dngv/dnev to hegv/heev in source

* Rename pyabacus dngvd
* add esolver_of_tddft

* esolver_of_tddft cmakelist

* move memeber function of esolver_of_tddft to module_ofdft

* fix bug (confuse evolve_psi with evolve_phi)

* change evolve_phi with evolve_ofdft; change to vector

* details

* code optimization

* add situation of reading charge file for tdofdft

---------

Co-authored-by: Liang Sun <50293369+sunliang98@users.noreply.github.com>
@mohanchen mohanchen added Diago Issues related to diagonalizaiton methods Refactor Refactor ABACUS codes Features Needed The features are indeed needed, and developers should have sophisticated knowledge labels Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Diago Issues related to diagonalizaiton methods Features Needed The features are indeed needed, and developers should have sophisticated knowledge Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need subspace diagonalization without scc

4 participants