Skip to content

Conversation

@zgn-26714
Copy link

Because the previous PR #6440 had an unresolved issue that was blocking the merge, I have now split the PR into several smaller PRs and resubmitted them
This pull request addresses issue #6377
Following a similar approach as described in #6487, the temporary variable hRGintCd, which was used in the conversion of HContainer from serial to 2D block distributed parallel layout, has been removed. Instead, a smaller auxiliary matrix hR_tmp is now used to partition hR into blocks, facilitating the type conversion. The data transfer path has been changed from the original hRGint_tmp → hRGintCd → hR to hRGint_tmp → hR_tmp → hR.

Since the energy matrix is no longer conjugate after parallelization, the conjugate operation must be performed before converting the matrix to 2D block mode. The transformation variables become hRGint_tmp → hRGint_tmpCd → hR_tmp → hR.

@zgn-26714
Copy link
Author

zgn-26714 commented Sep 6, 2025

Try to resolve the only error in this case now:
image

@dyzheng dyzheng merged commit 0f13efe into deepmodeling:LTS Sep 15, 2025
14 checks passed
dyzheng pushed a commit that referenced this pull request Sep 26, 2025
. (#6511)

* Fixed the bug in memory statistics

* delete tem Hcontainer to reduce memory usage

* delete tem hRGintCd to reduce memory usage

* fix parallel bug

* Simplify the computational code

* improve the serial code

* fix bug

---------

Co-authored-by: dyzheng <[email protected]>
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.

2 participants