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

Refactor: remove GlobalCs: bigpw, rhopw from module_gint and GridT entirely #2485

Merged
merged 5 commits into from
May 23, 2023

Conversation

maki49
Copy link
Collaborator

@maki49 maki49 commented May 20, 2023

In my future LR-TDDFT implementation, I will use Grid_Technique , Gint_gamma and Gint_k directly moved from ESolver_KS_LCAO. They should contain all the necessary infomation without using GlobalC. (see #2460 for details),

That's why I did this refactor.


Then I found that GlobalC::GridT can be deleted by moving it into ESolver_KS_LCAO, so I did it by the way.


A bug that doesn't influence the result occurred after the destructor ~Driver().

Attempting to use an MPI routine after finalizing MPICH

The bug disappeared after I comment out the TITLE funciton in ~Exx_Lip(), which calls MPI_Wtime() in timer::tick.

@maki49 maki49 marked this pull request as draft May 20, 2023 08:37
@maki49 maki49 marked this pull request as ready for review May 20, 2023 10:55
@maki49 maki49 changed the title Refactor: remove GlobalC::bigpw and GlobalC::rhopw from module_gint Refactor: remove GlobalCs: bigpw, rhopw from module_gint and GridT entirely May 20, 2023
@dyzheng dyzheng merged commit 1187ffa into deepmodeling:develop May 23, 2023
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.

3 participants