Skip to content

Conversation

@Critsium-xy
Copy link
Collaborator

If you are running cpu examples using ABACUS compiled for GPU, then it will cause memory leak and crash the application. But it passed the CI test because CI test will not do tests like this.

Thanks for @dzzz2001 for finding this bug
img_v3_02gk_bad01767-7d06-4fc0-a13e-5db49ff5eafg

@Critsium-xy Critsium-xy marked this pull request as ready for review November 14, 2024 12:29
@mohanchen mohanchen added the Bugs Bugs that only solvable with sufficient knowledge of DFT label Nov 14, 2024
@A-006
Copy link
Collaborator

A-006 commented Nov 14, 2024

Oh, I thought it was a memory issue from FFT,and I looked for a bug in my PR for a long time.Could you add a unittest for this feature?It wouldn't be error next time.

@mohanchen mohanchen merged commit 6bff8e3 into deepmodeling:develop Nov 15, 2024
14 checks passed
@Critsium-xy Critsium-xy deleted the gpu_recorder_fix branch February 11, 2025 06:34
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
* Fix memory leak

* Remove useless things
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugs Bugs that only solvable with sufficient knowledge of DFT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants