forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 145
Restore deepks unit test in gamma-only case and make H_V_delta have full size of Hamiltonian in multi-k case #5785
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
Conversation
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
…D in deepks unit test instead of GlobalC::GridD
…or complete atom_pairs will cause time increase in multi-k cases.
…toms, thus reducing much time
…hbor atoms, thus reducing much time
ErjieWu
reviewed
Dec 31, 2024
mohanchen
approved these changes
Jan 4, 2025
Fisherd99
pushed a commit
to Fisherd99/abacus-BSE
that referenced
this pull request
Mar 31, 2025
…ull size of Hamiltonian in multi-k case (deepmodeling#5785) * renew deepks unit test * renew deepks unit test * reduce deepks-unitest's dependence on other modules * fix the bug of "Couldn't find orbital files for descriptor" * fix bugs of read orbitals and init orb&ParaO * fix the bug of DMR ; change the names of files being compared * fix: calculate H_V_delta * fix : cal_H_V_delta for check_e_deltabands * fix : Add pointer for GridD in deepks operator. use Test_Deepks::GridD in deepks unit test instead of GlobalC::GridD * fix : modify deepks operator to support insert_pair in initilize_HR in multi-k * fix : undefined reference of test_hsolver_sdft when using mpiicpx and icpx * update intergrate test result. Note modification in deepks operator for complete atom_pairs will cause time increase in multi-k cases. * remove some useless code * remove nnr in deepks unittest * fix: cutoff for overlap_orb_alpha_ in deepks test * fix : psialpha ref of gamma only case , just change the order of neighour atoms * fix uninitilized nmax_total in unitcell; simplize cal_descriptor * restore deepks unit test in gamma-only case * modify STRU of SiO2 in deepks test to reduce the number of neighbor atoms, thus reducing much time * fix a bug when merge * fix : setup nonlocal for ucell * rename phialpha_ref.dat for multi-k * modify STRU of H2O_multik in deepks test to reduce the number of neighbor atoms, thus reducing much time * fix : add module paw dependence in deepks unittest * fix : rename descriptor file * fix : modify result.ref for SiO2. The privious modification don't change totaldes wrongly. * update CMakeLists.txt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Compile & CICD & Docs & Dependencies
Issues related to compiling ABACUS
Machine Learning
Issues related to the DeePKS
Refactor
Refactor ABACUS codes
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
Fix #5113
What's changed?
In the past time, multi-k keep same size of Hamiltonian as nonlocal operator. This is not accurate.
This modification will increase deepks calculation time for multi-k case. To reduce time, also modify some STRUs in integrate test s of deepks.