Skip to content

Refactor Parallel Codes#7478

Merged
mohanchen merged 19 commits into
deepmodeling:developfrom
mohanchen:20260617-parallel
Jun 21, 2026
Merged

Refactor Parallel Codes#7478
mohanchen merged 19 commits into
deepmodeling:developfrom
mohanchen:20260617-parallel

Conversation

@mohanchen

Copy link
Copy Markdown
Collaborator

Refactor Parallel Codes

abacus_fixer added 2 commits June 17, 2026 12:11
…uplicate specializations

- Add MPI_Type<T> template struct to map C++ types to MPI_Datatype
- Replace 30+ duplicate template specializations with 8 generic templates
- Add explicit instantiations for all required types
- Maintain full backward compatibility
@mohanchen mohanchen added GPU & DCU & HPC GPU and DCU and HPC related any issues Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0 labels Jun 17, 2026
@mohanchen mohanchen requested a review from Critsium-xy June 18, 2026 05:49
@mohanchen mohanchen requested a review from AsTonyshment June 19, 2026 13:45

@AsTonyshment AsTonyshment left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Overall, LGTM.

Comment thread source/source_lcao/record_adj.cpp Outdated
Comment thread source/source_lcao/LCAO_set_st.cpp Outdated
@mohanchen mohanchen merged commit 289e5d0 into deepmodeling:develop Jun 21, 2026
14 checks passed
Growl1234 added a commit to Growl1234/abacus-develop that referenced this pull request Jun 22, 2026
Growl1234 added a commit to Growl1234/abacus-develop that referenced this pull request Jun 22, 2026
Growl1234 added a commit to Growl1234/abacus-develop that referenced this pull request Jun 22, 2026
maki49 added a commit to maki49/abacus-develop that referenced this pull request Jun 22, 2026
Growl1234 added a commit to Growl1234/abacus-develop that referenced this pull request Jun 25, 2026
Growl1234 added a commit to Growl1234/abacus-develop that referenced this pull request Jun 29, 2026
Growl1234 added a commit to Growl1234/abacus-develop that referenced this pull request Jul 1, 2026
maki49 added a commit to maki49/abacus-develop that referenced this pull request Jul 6, 2026
PeizeLin pushed a commit that referenced this pull request Jul 6, 2026
* initial version of writing H and dH terms (except exx)

* correct 1-electron terms: T, Vl, Vnl

* fix pot register

* Gint_drho

* add EXX H&dH, dH (H-F term) of Veff Hartree, and refactor

* add dm_container_to_Ds and exx nscf-from-dm workflow; minor refactor OperatorEXX

* fix parallel segfaults and kinetic sign

* XC H-F term (FD)

* enable value-adding HContainers, total dH and atom-specified output; enable nspin=2

* dH test cases

* exclude cal_exx_dHs with __EXX_DEV flag, waiting for LibRI PR merged

* small fixes

* change scf_in_dmr ref due to not renormalizing charge at init_chg==dm

* fix conflict #7462 #7475 #7478

* Revert reference change by adding option dm_no_renormalize to init_chg

This reverts commit ed14d9f.

* fix pyabacus CI
Growl1234 added a commit to Growl1234/abacus-develop that referenced this pull request Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GPU & DCU & HPC GPU and DCU and HPC related any issues Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants