Skip to content

feat: add BSE module - #7718

Merged
mohanchen merged 9 commits into
deepmodeling:developfrom
Fisherd99:develop
Aug 13, 2026
Merged

feat: add BSE module#7718
mohanchen merged 9 commits into
deepmodeling:developfrom
Fisherd99:develop

Conversation

@Fisherd99

@Fisherd99 Fisherd99 commented Jul 31, 2026

Copy link
Copy Markdown
  1. feat: add BSE module. Relevant tutorial will update in https://fisherd99.github.io/abacus-librpa-bse-tutorial.html.
    ATTENTION: BSE module depends on LibRI#11 Implement CVC algorithm and enhance LR class abacusmodeling/LibRI#11
  2. feat: add ExcitonPlotter class.
  3. add input parameter rpa_outdir and rpa_out_vel for Output files are not in the correct directories #7661

Reminder

  • I have read AGENTS.md and docs/developers_guide/agent_governance.md.
  • I have linked an issue or explained why this PR does not need one.
  • I have added adequate unit tests and/or case tests, or explained why not.
    Not yet. The BSE module depends on LibRPA output files for reading. I don't know whether we can upload these files.
  • I have listed the exact verification commands run and their results.
  • I have described user-visible behavior changes, including INPUT parameter changes.
  • I have explained core-module impact for ESolver, HSolver, ElecState, Hamilt, Operator, Psi, or other source/ changes.
  • I have requested any needed governance exception below.

Linked Issue

Fix #7661

Unit Tests and/or Case Tests for my changes

  • Commands run:
  • Result summary:
  • Checks not run, with reason:

What's changed?

  • Example: brief summary of the user-visible or developer-facing change.

Governance Notes

  • INPUT/docs changes:
  • Core module impact:
  • Exceptions requested:

@mohanchen mohanchen added Feature Discussed The features will be discussed first but will not be implemented soon Refactor Refactor ABACUS codes labels Jul 31, 2026
Comment thread source/source_esolver/esolver_lr_lcao_bse.h
@mohanchen mohanchen added the Tests/Examples Issues/PR related to unit tests and integrate tests label Jul 31, 2026
@Growl1234

Growl1234 commented Jul 31, 2026

Copy link
Copy Markdown

Just a note: the current code is not well encapsulated:

  1. Generic LCAO builds now pull in BSE and ELPA dependencies unconditionally, which also causes the current CI failure.
  2. ELPA-related macro handling, such as HAVE_SKEWSYMMETRIC, should not leak through BSE headers.

@Fisherd99
Fisherd99 force-pushed the develop branch 7 times, most recently from 124ce0e to 1962112 Compare August 12, 2026 20:41
2. feat: add ExcitonPlotter
3. add input parameter `rpa_outdir` and `rpa_out_vel`
…outputs, ensuring robust handling of parallel I/O.

- Refactor exciton plotting utilities.
- Delete unnecessary 'PARAM‘ and 'GlobalV'.
fix without MPI compile bug

fix elpa interface
@mohanchen mohanchen added Features Needed The features are indeed needed, and developers should have sophisticated knowledge Input&Output Suitable for coders without knowing too many DFT details and removed Feature Discussed The features will be discussed first but will not be implemented soon labels Aug 13, 2026

@mohanchen mohanchen 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.

This is an important update, thanks for your contributions! However, keep in mind that refactors are needed in near future.

@mohanchen
mohanchen merged commit 1e4c1c6 into deepmodeling:develop Aug 13, 2026
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Features Needed The features are indeed needed, and developers should have sophisticated knowledge Input&Output Suitable for coders without knowing too many DFT details Refactor Refactor ABACUS codes Tests/Examples Issues/PR related to unit tests and integrate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output files are not in the correct directories

3 participants