Repository navigation
Feature: set ks_solver default to dav_subspace - #8507
Open
Cstandardlib wants to merge 4 commits into
Open
Cstandardlib wants to merge 4 commits into
Cstandardlib wants to merge 4 commits into
Conversation
…_subspace dav_subspace is the recommended PW eigensolver and has become mature and robust after recent fixes and extensions (including USPP support). Making it the default gives most users better out-of-box performance in speed and convergence. - read_inp_estruc.cpp: AUTO_SET and default_value - input_help.cpp, hsolver.md, performance.md: sync docs - test_read_input_item.cpp: update the default-value assertion Refs deepmodeling#8497
…ault - Pin ks_solver=cg in cases with too few plane waves for block solvers (npw < nbands*pw_diag_ndim), in cases locked to a specific SCF minimum (Eu f-states, charged Si), and in sensitive file-output regressions (W90/bands/LDOS/DFPT/wavefunction cubes). - Pin ks_solver=cg in the Kubo-Greenwood cases (06_SDFT 16/17/18 and 16_SDFT_GPU/001): nbands=100 is ~39% of npw=257, a regime where the highest bands of block solvers are not converged and the huge smearing (sigma=0.6 Ha) amplifies the error into a 1.85 eV energy shift. - Regenerate result.ref for 43 01_PW cases, 8 06_SDFT cases and 006_PW_SDFT_MALL_GPU (plus band.txt.ref of 14_PW_SDFT_10D10S_METHD2) that show only normal numerical drift; the largest relative deviation is ~1e-3 in the stochastic/MD pipeline, ~1e-5 elsewhere. Refs deepmodeling#8497, deepmodeling#8500
Cstandardlib
force-pushed
the
feature/ks-solver-default-dav-subspace
branch
2 times, most recently
from
December 4, 2026 02:44
3397933 to
8b5c19f
Compare
Every PW-basis case that relied on the default ks_solver now requests its historical solver (cg) explicitly, decoupling the test suite from the default value: no reference values change, and future default changes will not perturb these tests again. Benchmarks under tests/performance/ intentionally keep tracking the default.
Cstandardlib
force-pushed
the
feature/ks-solver-default-dav-subspace
branch
from
December 4, 2026 07:46
8b5c19f to
b6c7928
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked Issue
Closes #8497
What's changed?
ks_solvertodav_subspacefor plane wave (basis_type=pw) calculations.Impact on some Tests
ks_solverexplicitly.