Skip to content

Enable pool and pencil decomposition for kcw.x - #253

Merged
elinscott merged 2 commits into
masterfrom
enable_pool_parallelization_kcw
Sep 29, 2025
Merged

Enable pool and pencil decomposition for kcw.x#253
elinscott merged 2 commits into
masterfrom
enable_pool_parallelization_kcw

Conversation

@nscolonna

Copy link
Copy Markdown
Collaborator

This MR reintroduce npool and add pd as possible parallelization options for kcw.x. At the moment there is no way to instruct koopmans to run kcw.x with k-point and/or pencil decomposition (This went probably lost with MR #245).

@nscolonna
nscolonna requested a review from elinscott September 29, 2025 13:17
@nscolonna nscolonna self-assigned this Sep 29, 2025
@nscolonna nscolonna added bug Something isn't working enhancement New feature or request labels Sep 29, 2025
@nscolonna nscolonna changed the title Enable pool and pensicl depdomposition for kcw.x Enable pool and pencil depdomposition for kcw.x Sep 29, 2025
@codecov

codecov Bot commented Sep 29, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.86207% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.25%. Comparing base (1e05053) to head (539f82b).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/koopmans/commands.py 75.86% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
+ Coverage   80.67%   81.25%   +0.58%     
==========================================
  Files          97       97              
  Lines        8191     8116      -75     
==========================================
- Hits         6608     6595      -13     
+ Misses       1583     1521      -62     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nscolonna nscolonna changed the title Enable pool and pencil depdomposition for kcw.x Enable pool and pencil decomposition for kcw.x Sep 29, 2025
Comment thread src/koopmans/commands.py
pd: bool = Field(False, description="Use pencil decomposition.")
ase_env_var: ClassVar[str] = "ASE_PROJWFC_COMMAND"

@property

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.

Please add missing options_str implementation

@elinscott
elinscott merged commit dff1bf8 into master Sep 29, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants