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

Perf: save HR for spin-up and spin-down both in hamilt_lcao.cpp for delta-spin #3299

Merged
merged 4 commits into from
Dec 5, 2023

Conversation

dyzheng
Copy link
Collaborator

@dyzheng dyzheng commented Dec 4, 2023

Reminder

  • Have you linked an issue with this pull request?
  • Have you noticed possible changes of behavior below or in the linked issue?
  • Have you explained the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi? (ignore if not applicable)

Linked Issue

Fix #3259 , I didn't occur memory error in NiO case, @hongriTianqi please test this PR by yourself for doublecheck.

What's changed?

  • save HR when NSPIN=2, HR will not be recalculated in delta-spin calculation.

@hongriTianqi hongriTianqi merged commit d7492b7 into deepmodeling:develop Dec 5, 2023
11 checks passed
@dyzheng dyzheng mentioned this pull request Dec 6, 2023
3 tasks
hongriTianqi pushed a commit that referenced this pull request Dec 6, 2023
* Perf: save HR for spin-up and spin-down both in hamilt_lcao for delta_spin

* fix: bug of nspin2 and hse

* fix: useless debug info

* Fix: reallocate hR when HamiltLCAO::refresh

---------

Co-authored-by: dyzheng <zhengdy@bjaisi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Job killed by signal 9 for a deltaspin calculation in collinear case for NiO
2 participants