Skip to content
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

Feature: enable lcao_in_pw function on present version #3057

Merged
merged 26 commits into from
Dec 21, 2023

Conversation

kirk0830
Copy link
Collaborator

@kirk0830 kirk0830 commented Oct 9, 2023

Changes

  • Modify time when initialize pw wavefunction
  • Support float/double/std::complex<float>/std::complex<double> with psi::DEVICE_CPU/psi::DEVICE_GPU feature, in accord with the newest implementation of ESolver_KS_PW

Calculation result comparison

case ref new implementation delta E (eV)
401_NP_KP_sp -712.4253628200150388 -712.4239765233179 0.0013862966
401_NP_KP_spd -211.3197071622673775 -211.3197071630929 0.0000000008

@kirk0830
Copy link
Collaborator Author

kirk0830 commented Oct 9, 2023

Link to issue #2973

@kirk0830 kirk0830 added Code Quality Feature Discussed The features will be discussed first but will not be implemented soon and removed Device labels Oct 9, 2023
@kirk0830 kirk0830 marked this pull request as ready for review October 10, 2023 05:53
@kirk0830 kirk0830 requested a review from dyzheng October 10, 2023 06:10
@kirk0830 kirk0830 changed the title Feature: enable lcao_in_pw function on present version Refactor: enable lcao_in_pw function on present version Oct 10, 2023
@kirk0830 kirk0830 self-assigned this Oct 13, 2023
@kirk0830 kirk0830 marked this pull request as draft October 18, 2023 10:06
@kirk0830
Copy link
Collaborator Author

@dyzheng suggest make lcao_in_pw workflow more individual, especially for branching HSolver and ESolver classes. This draft will exist here for long time.

@hongriTianqi
Copy link

Fix #2973

@kirk0830 kirk0830 marked this pull request as ready for review November 10, 2023 10:06
Copy link
Collaborator

@dyzheng dyzheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution for recover the feature for LCAO_in_PW SCF calculation.
I hope you can add some documents in on-line documentations for this feature.

@dyzheng dyzheng changed the title Refactor: enable lcao_in_pw function on present version Feature: enable lcao_in_pw function on present version Dec 21, 2023
@dyzheng dyzheng merged commit a21e80c into deepmodeling:develop Dec 21, 2023
11 checks passed
@kirk0830 kirk0830 deleted the lcao_in_pw branch December 22, 2023 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Discussed The features will be discussed first but will not be implemented soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants